Free Online Backup howto
From MEPIS Documentation Wiki
| Line 12: | Line 12: | ||
https://www.google.com/accounts/SmsMailSignup1 | https://www.google.com/accounts/SmsMailSignup1 | ||
| - | cd /Desktop | + | cd /Desktop |
create the script file | create the script file | ||
Revision as of 22:35, 13 November 2006
Disclaimer; this is a experimental work in progress. - don't blame me if it breaks your system.
I want to develop this so that it will back up your home directory to a free gmail account. It is currently not working. It stores data to the gmail account but it is not retrievable.
First get the software gmailfs + duplicity by typing into the command line
su 'yourrootpassword' apt-get install gmailfs duplicity
Getting a gmail account is also easy in many countries;
https://www.google.com/accounts/SmsMailSignup1
cd /Desktop
create the script file
kedit backup.sh
Paste in the following after changing the gmailuser + gmailpass SomeLongGeneratedHardToCrackKey + and name of your /home/username folder to your actual details.
#!/bin/sh sudo mount -t gmailfs /usr/local/bin/gmailfs.py /mnt/ -o username=gmailuser,password=gmailpass,fsname=zOlRRa export PASSPHRASE=SomeLongGeneratedHardToCrackKey duplicity /home/username file:///mnt/ unset PASSPHRASE umount /mnt/
Click 'save'
make it executable
chmod 700 backup.sh
then to run it
./backup.sh
either run the ./backup.sh command as often as you like or to schedule it to run automatically check here; https://help.ubuntu.com/community/DuplicityBackupHowto