LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 06-24-2008, 06:12 AM   #1
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 135

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, 06:17 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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, 10:44 AM   #3
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 135

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, 04:59 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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



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 08:11 PM
resume broken transfers at file-level using rsync prvnrk Linux - Server 1 08-25-2007 01:04 AM
Make not working correctly barleykorn Linux - Newbie 3 11-17-2006 02:52 PM
Is it possible to make scp Continue/Resume after an interruption? lothario Linux - Software 5 06-04-2006 12:40 AM
pause/resume an ssh make or other process linuxhippy Slackware 4 09-01-2005 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration