![]() |
auto backup with rsync
Hi everyone. I currently have a N800 that has been upgraded to Diablo. I am interested in setting something up to automatically back up my SD cards and my home directory each night to my linux box by using something like rsync over wi-fi. Has anyone set something like this up already? If you have, I'd appreciate any pointers. Is there a cron utility available? Does it require root access or can I create a crontab for the default user?
|
Re: auto backup with rsync
|
Re: auto backup with rsync
I use, and recommend, rsnapshot:
http://www.rsnapshot.org/ I make a backup every 3 hours, has saved my butt on several occasions :) |
Re: auto backup with rsync
If you would like to give rsnapshot a try on the tablet, here was the process for installation under Diablo.
1. Install perl Grab perl, perl-base, and perl-modules from http://repository.maemo.org/pool/diablo/free/p/perl/ dpkg -i perl_5.8.3-3osso9_armel.deb perl-modules_5.8.3-3osso9_all.deb perl-base_5.8.3-3osso9_armel.deb (or add the diablo repo: deb http://repository.maemo.org/ diablo/sdk free non-free) 2. Install make apt-get install make (not sure of the repo) 3. Download rsnapshot Went for the "generic UNIX" release at http://www.rsnapshot.org/downloads/r...t-1.3.0.tar.gz 4. Follow rsnapshot directions The rest was straightforward, using http://www.rsnapshot.org/howto/1.2/r...-HOWTO.en.html Essentially: ./configure --sysconfdir=/etc make install cp /etc/rsnapshot.conf.default /etc/rsnapshot.conf notes: backups are saved in the /.snapshots directory In the config file, I uncommented cmd_cp and cmd_ssh for added functionality. The logger seems to choke on the -i option, so syslogs of backups might not be recorded install cron for automated backups Have fun! |
Re: auto backup with rsync
A good search on rsync here would result in several threads with example scrips doing exactly what you want.
|
All times are GMT. The time now is 14:48. |
vBulletin® Version 3.8.8