Free Online Backup howto

From MEPIS Documentation Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
'''Disclaimer; this is a experimental work in progress. - don't blame me if it breaks your system.'''
'''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.
+
Getting a gmail account is also easy in many countries; https://www.google.com/accounts/SmsMailSignup1
 +
 
 +
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]]
First get the software gmailfs + duplicity by typing into the [[command line]]
Line 7: Line 9:
     'yourrootpassword'
     'yourrootpassword'
     apt-get install gmailfs duplicity
     apt-get install gmailfs duplicity
-
 
-
Getting a gmail account is also easy in many countries;
 
-
 
-
https://www.google.com/accounts/SmsMailSignup1
 
   cd /Desktop
   cd /Desktop

Revision as of 22:37, 13 November 2006

Disclaimer; this is a experimental work in progress. - don't blame me if it breaks your system.

Getting a gmail account is also easy in many countries; https://www.google.com/accounts/SmsMailSignup1

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
  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

Personal tools