Backup solution for home [Solved] (but more ideas welcome)

Discussions Regarding Software

Moderator: Moderators

Post Reply
Raghav_K
Simple Hen
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India
Contact:

Backup solution for home [Solved] (but more ideas welcome)

Post by Raghav_K » Sat Aug 27, 2011 12:51

okay i have a 1 tb internal hd and a 500gb internal hd.

i need a backup solution to copy the /home directory and a 400 gb /media/collection partition from the 1 tb internal HD to the 500gb one once a week, and to a 500gb external one, once a month..

i tried a few luckybackup, areca.... i found areca too slow n luckybackup confusing..

so i just made a initial backup with rsync via commandline

rsync -avh /home /media/backup_drive/backups
rsybc -avh /media/collections /media/backup_drive/backups1

any suggestions to automate the process?? and to make the backup recursive or differential when it runs the second time...

and any other gui suggestions?

thanks...

:alien:
Last edited by Raghav_K on Sat Aug 27, 2011 14:28, edited 1 time in total.
aaaaaaaaaahhhhhhhh open source goodnessssss!!!!!!!!!!

micia
Sagely Hen
Posts: 2718
Joined: Wed Nov 26, 2008 16:41
Contact:

Re: Backup solution for home....

Post by micia » Sat Aug 27, 2011 13:37

Have you tried deja-dup?
(as root)

Code: Select all

equo install --ask deja-dup

It is mainly a Gnome application, but I don't think it has many dependencies on it (obviously if you are already using Gnome or XFCE, this is not a problem).

User avatar
sabayonino
Sagely Hen
Posts: 3157
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Backup solution for home....

Post by sabayonino » Sat Aug 27, 2011 13:45

Raghav_K wrote:okay i have a 1 tb internal hd and a 500gb internal hd.


any suggestions to automate the process?? and to make the backup recursive or differential when it runs the second time...

:alien:



Try crontab to automate the process or other scripts

see http://www.gentoo-wiki.info/Cron http://www.gentoo-wiki.info/Crontab http://www.gentoo-wiki.info/HOWTO_use_cron

An example to backup using rsync : http://en.gentoo-wiki.com/wiki/Backup_Using_Rsync

if you don't know how works dd command skip Backing-up the boot sector using dd article

see also

Code: Select all

man crontab

Code: Select all

man cron

Code: Select all

man rsync
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

Raghav_K
Simple Hen
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India
Contact:

Re: Backup solution for home....

Post by Raghav_K » Sat Aug 27, 2011 14:27

thanks a lot guys :)
aaaaaaaaaahhhhhhhh open source goodnessssss!!!!!!!!!!

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8091
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Backup solution for home [Solved] (but more ideas welcom

Post by Fitzcarraldo » Sat Aug 27, 2011 19:01

In case it's of any interest, you could modify the backup script I use: My personal backup strategy. And, as for automating it, you could even use KAlarm to do it if you find the idea of setting up a cronjob daunting.

User avatar
albfneto
Sagely Hen
Posts: 1842
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: Backup solution for home [Solved] (but more ideas welcom

Post by albfneto » Sun Aug 28, 2011 0:20

if you want to copy some files, music, videos to an DVD or pendrive, or other directory etc...
you may try the Kbackup package, is very easy to use.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

Raghav_K
Simple Hen
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India
Contact:

Re: Backup solution for home [Solved] (but more ideas welcom

Post by Raghav_K » Sun Aug 28, 2011 6:32

Fitzcarraldo, loved ur idea... gonna copy it... :mrgreen:
aaaaaaaaaahhhhhhhh open source goodnessssss!!!!!!!!!!

Gordon
Simple Hen
Posts: 56
Joined: Tue Jul 20, 2010 8:22

Re: Backup solution for home [Solved] (but more ideas welcom

Post by Gordon » Sun Aug 28, 2011 9:31

It might be an idea to bring in a rotation system. Using rsync and Linux this is really not that difficult and doesn't even require a lot of additional disk space (unless of course you change a lot of data each day)

Essentially, take the rsync backup scheme but let it copy the data to a folder that is based on the day of the week (e.g. insert `date +%w` in the destination path. Now the trick is to prefill the destination folder with a copy of yesterdays content without actually copying it. This is done by using the command `cp -al`, which just copies the directory entries pointing to the already existing files. Running rsync will then copy in al the changes without actually touching the files that are still occupied by directory entries from the previous day.

I use such a scheme for backups at work, running differentials from monday to thursday and a full backup (i.e. towards an empty directory tree) on fridays.

Post Reply