LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-24-2008, 05:12 AM   #1
assasukasse
Member
 
Registered: Mar 2006
Location: Italy
Distribution: Elive, Debian, Vectorlinux, Puppylinux
Posts: 111

Rep: Reputation: 15
Cool Make rsync resume correctly...


Hello everyone
i am using rsync for backing up to an usb disk, unfortunately it happens that the usb hub is a bit borked and disconnects the drive every 30 mins or so
I am trying to make rsync resume the backup from the last file it was doing and not start all over and over again
how can i do it?
at the moment i use:
rsync -Pav /home/foo /mnt/bkp

but seems that it always restarts from the beginning..
what can i do?
thanks
 
Old 06-24-2008, 05:17 AM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
It should only have to redo the initial file list part, it should start transferring the file that was disconnected.

Have a more careful look at the first file that actually gets transferred
 
Old 06-24-2008, 09:44 AM   #3
assasukasse
Member
 
Registered: Mar 2006
Location: Italy
Distribution: Elive, Debian, Vectorlinux, Puppylinux
Posts: 111

Original Poster
Rep: Reputation: 15
thanks billymayday i will check carefully
do u know if is possible to do incremental backups with rsync?
 
Old 06-24-2008, 03:59 PM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
It does a version - have a look at the man pages
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF files not being backed up correctly by rsync. Viewers unable to open them. powerpleb Linux - General 4 06-02-2008 07:11 PM
resume broken transfers at file-level using rsync prvnrk Linux - Server 1 08-25-2007 12:04 AM
Make not working correctly barleykorn Linux - Newbie 3 11-17-2006 01:52 PM
Is it possible to make scp Continue/Resume after an interruption? lothario Linux - Software 5 06-03-2006 11:40 PM
pause/resume an ssh make or other process linuxhippy Slackware 4 09-01-2005 05:03 AM


All times are GMT -5. The time now is 05:31 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration