Skip to main content

Thread: Backup to ftp


hi,

quite new linux , running ubuntu 10.10 maverick meerkat , managed mistype
php code:
rm -rf 
while trying delete folders leaving me no other option complete reinstall.

long story short lost years of pictures & documents etc... have never bothered backup.

have learned hard way , plan never have happen again went out @ weekend , picked external hdd , have plugged home router. have netgear evg2000 wireless router , allows access usb drive via ftp.

problem having i'm not sure best way backup be.

before realised plug hdd & access via router found rsync (i impressed this) , have found below command want far creating backups.

php code:
rsync -avb --suffix=\ `date '+%y-%m-%d\%h:%m:%s'` /home/lee/documents /home/lee/recovery
this quick check of in documents folder, compares destination folder , backs things have been modified or added since last backup backup date suffix added each file.

problem have managed find on net tells me wont able use rsync backup hdd via ftp need have rsync running @ receiving end also.
have had go @ backing rsync mounting hdd places > connect server , set hdd backup destination via .gvfs below errors (though im not sure if i'm doing things correctly).

php code:
lee@lee:~$ rsync -avb --suffix=\ `date '+%y-%m-%d\%h:%m:%s'` /home/lee/documents /home/lee/.gvfs/ftp\ as\ homehddonmy.dyndns-home.com/recovery
sending incremental file 
list
rsyncmkdir "/home/lee/.gvfs/ftp as homehdd on my.dyndns-home.com/recovery" failedinput/output error (5)
rsync errorerror in file io (code 11at main.c(595) [receiver=3.0.7]
rsyncconnection unexpectedly closed (9 bytes received so far) [sender]
rsync errorerror in rsync protocol data stream (code 12at io.c(601) [sender=3.0.7
can tell me if there way can work , if how can it. or if it's not option tell me how use alternative method?

have seen mirrordir mentioned on different websites cant head around , therefore not overly excited prospect of using that. (unless of course able tell me how create backups have managed create rsync)

appreciated.

cheers
lee.

is there particular reason accessing drive wan? why don't use internal ip assigned target?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Backup to ftp


Ubuntu

Comments