LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2006, 07:21 PM   #1
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Rep: Reputation: 15
Automatic backup software


I have been using kdar to back up critical files. It's very annoying though because it's not automatic. I want an open source program that will Create a full backup each week and differential backups every day at certain times.

Does anyone know of software like this?
 
Old 12-07-2006, 07:29 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
How about cron ?
 
Old 12-07-2006, 07:30 PM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
kdar is just a GUI interface to the command-line utility dar, which can be called non-interactively. There are many backup alternatives, but if you're already using dar archives, that's one reason to carry on.

You could easily automate production of dar archives, although it would men finding out how to call it from the command-line, and putting that command (with perhaps a little extra stuff) into a script, and calling it from cron, or similar.

In fact, kdar is able to generate the dar command for you, from this dialog (the "export dar command button).

If you don't want to muck about with dar archives any more, there are plenty of other solutions. I rather like dar archives. They add quite a lot of nice functionality missing from tarballs.
 
Old 12-07-2006, 07:38 PM   #4
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
I don't have a problem with the command line if it is able to automatically use the last full or differential backup to create a differential or incremental backup. But so far, I can't see any way to do that (easily).
 
Old 12-07-2006, 07:55 PM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Describe more how you are using kdar. You make one full backup how often, and how often a differential? Do you make the backup onto a permanently mounted drive, a manually mounted external drive, a network drive, or burn to CDs/DVDs?
 
Old 12-07-2006, 08:30 PM   #6
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
I want to use it to make backups of my C++ source code every day. On the same hard drive but in a different dir. Which I tested today. Every time I want to make a backup, I need to go through all of the steps manually.

I can create a script that will do full backups every day using dar but using a script to find the last full backup to make a differential is tough.
 
Old 12-07-2006, 08:53 PM   #7
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
There are loads of backup scripts around the net. For sure you can find one which matches your requirements. I googed and found this one which looks quite nice:

http://www.methods.co.nz/yakup/
 
Old 12-07-2006, 09:27 PM   #8
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
Thanks. I was able to use that code to fix a problem I was having appending function output in strings. I am going to name the backups with the date and time.

#t=$(date '+%F_%T');
#path="/home/Storage/Backups/cpp_$t _diff"; #won't work without space after $t
path="/home/Storage/Backups/cpp_$(date '+%F_%T')_diff"; #best choice for now
echo $path
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic backup to email critical Linux - Software 1 10-04-2006 05:47 AM
Automatic FTP Backup aquaboot Linux - Software 5 06-03-2006 06:34 PM
Automatic backup of specified directories? Spreegem Debian 3 07-28-2005 11:08 PM
Automatic backup over LAN synecdoche Linux - General 1 06-12-2004 01:21 AM
Automatic Backup? Mirra? naloxone Linux - Software 0 04-28-2004 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration