hi,
quite new linux , running ubuntu 10.10 maverick meerkat , managed mistypewhile trying delete folders leaving me no other option complete reinstall.php code:
rm -rf
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.
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.php code:
rsync -avb --suffix=\ `date '+%y-%m-%d\%h:%m:%s'` /home/lee/documents /home/lee/recovery/
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).
can tell me if there way can work , if how can it. or if it's not option tell me how use alternative method?php code:
lee@lee:~$ rsync -avb --suffix=\ `date '+%y-%m-%d\%h:%m:%s'` /home/lee/documents /home/lee/.gvfs/ftp\ as\ homehdd\ on\ my.dyndns-home.com/recovery
sending incremental file list
rsync: mkdir "/home/lee/.gvfs/ftp as homehdd on my.dyndns-home.com/recovery" failed: input/output error (5)
rsync error: error in file io (code 11) at main.c(595) [receiver=3.0.7]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
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
Post a Comment