Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-25-2006, 04:34 AM   #1
Senior Member
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,174

Rep: Reputation: 51
backing up to the net with ftp or rsync

I am backing up a few directories to the disk space I have with my provider. First I make a "tar" of the directory and sub-directories and then a "put" through "FTP".

This was ok for the first backup but is not efficient for subsequent backups since only parts of some files have changed and need to be backed up.

Could someone advise a suitable way of doing this and point me to or show suitable example of scripts. My experience with FTP or RSYNC is just basic.

Thank you for your help.
Old 04-26-2006, 04:13 AM   #2
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,340

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362

I think there are a number of ways of doing this. If you have ssh access to the computer that will hold the backups, I suggest you read a bit on rsync or rdiff-backup. The man pages have some examples you can use. "rdiff-backup" makes a differential backup so you can find files deleted a long time ago.

Alternatively, if you have some harddisk space on your local computer, you can use tar to make incremental backups, so that each new backup produces a separate tar file with only the new or changes files. Then you can put that new file to the backup server with ftp.

Best regards,
Old 04-27-2006, 12:40 AM   #3
Senior Member
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,174

Original Poster
Rep: Reputation: 51
Thank you, I'll try your suggestions.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync and backing up danimalz Linux - Software 12 10-24-2005 12:01 PM
Urgent Help: Perl FTP Script Using NET::FTP xboxter Programming 8 05-16-2005 06:57 PM
copy/ftp/sftp/rsync from ssh'd machine allelopath Linux - Software 5 05-05-2005 02:16 PM
backing up remote folder with rsync and ssh ohcarol Linux - Software 6 01-03-2005 12:43 AM
RSync or another way? Backing Up Off-site. kemplej Linux - Software 0 08-19-2004 04:55 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:49 PM.

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