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

Discussions Regarding Software

Moderator: Moderators

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

Postby 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!!!!!!!!!!
Raghav_K
Simple Hen
 
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India

Re: Backup solution for home....

Postby 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).
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Backup solution for home....

Postby 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
User avatar
sabayonino
Sagely Hen
 
Posts: 2679
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Backup solution for home....

Postby Raghav_K » Sat Aug 27, 2011 14:27

thanks a lot guys :)
aaaaaaaaaahhhhhhhh open source goodnessssss!!!!!!!!!!
Raghav_K
Simple Hen
 
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India

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

Postby 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
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

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

Postby 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
User avatar
albfneto
Sagely Hen
 
Posts: 1728
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

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

Postby Raghav_K » Sun Aug 28, 2011 6:32

Fitzcarraldo, loved ur idea... gonna copy it... :mrgreen:
aaaaaaaaaahhhhhhhh open source goodnessssss!!!!!!!!!!
Raghav_K
Simple Hen
 
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India

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

Postby 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.
Gordon
Simple Hen
 
Posts: 56
Joined: Tue Jul 20, 2010 8:22


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest

cron