Active Topics

 


Reply
Thread Tools
Posts: 70 | Thanked: 5 times | Joined on Jan 2008
#1
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?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
I wonder if TimeVault can be ported.. at least for the debian ports if not the maemo.....

Or maybe FlyBack since it uses python....
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#3
I use, and recommend, rsnapshot:
http://www.rsnapshot.org/

I make a backup every 3 hours, has saved my butt on several occasions
 
gleitz's Avatar
Posts: 11 | Thanked: 2 times | Joined on May 2007 @ Boston, MA
#4
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!

Last edited by gleitz; 2008-07-23 at 22:44.
 

The Following 2 Users Say Thank You to gleitz For This Useful Post:
Posts: 833 | Thanked: 124 times | Joined on Nov 2007 @ Based in the USA
#5
A good search on rsync here would result in several threads with example scrips doing exactly what you want.
__________________
N810, iGo bt kb, Diablo, 10Gb storage onboard instead of a Thinkpad
OTG w/ unlimited storage!!
Put a penguin in your pocket!!
PLEASE use the Wiki
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:12.