Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    auto backup with rsync

    Reply
    mrklaw | # 1 | 2008-07-23, 19:25 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fatalsaint | # 2 | 2008-07-23, 19:40 | Report

    I wonder if TimeVault can be ported.. at least for the debian ports if not the maemo.....

    Or maybe FlyBack since it uses python....

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dblank | # 3 | 2008-07-23, 20:26 | Report

    I use, and recommend, rsnapshot:
    http://www.rsnapshot.org/

    I make a backup every 3 hours, has saved my butt on several occasions

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gleitz | # 4 | 2008-07-23, 22:34 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by gleitz; 2008-07-23 at 22:44.
    The Following 2 Users Say Thank You to gleitz For This Useful Post:
    mrklaw, qwerty12

     
    gemniii42 | # 5 | 2008-07-24, 05:44 | Report

    A good search on rsync here would result in several threads with example scrips doing exactly what you want.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout