LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-19-2006, 06:23 AM   #1
jstars
Member
 
Registered: Jun 2005
Location: Edmonton, Canada
Distribution: SuSE 10
Posts: 51

Rep: Reputation: 15
Question What is the best way to backup?


I am completely new to backing up files in linux. I have a home server (running Clarkconnect 4.0) with 40 GB of pictures and mp3s that I would like to backup onto a removable USB HD. Clarkconnect comes with bacula, but I am finding it too difficult to configure and suspect it might be overkill.

What is the best way to back-up my files (including incrementally on a weekly basis)? What file system should my USB HD use? (vfat, ext3 etc..). I am also nervous about recovery; it should be easy to recover backed up files!
 
Old 12-19-2006, 08:27 AM   #2
hgh9mrp
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
You might consider using tar, rsync or pax. For the filesystem on your disk, you could probably use either fat32, vfat, or ext3 - it's your decision.
Good luck.
 
Old 12-19-2006, 08:42 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Vfat is the linux filesystem that a win32 partition is mounted as. You also might consider using dar and perhaps kdar. However if you use Linux ACL's you need to use "star" rather than "tar". I don't know if dar works with them. Dar has a kde gui front end called kdar. You can also export the script commands that perform a backup after setting it up graphically in kdar. This allows you to use cron to perform automatic updates.

One advantage of dar when performing restores, is that if a file is obsolete and deleted between incremental backups, the restore process will delete it as well. So if you start by restoring from an initial full backup, and then apply the incremental restores, you won't end up with a bunch of files that you don't want restored.
 
Old 12-19-2006, 01:47 PM   #4
jstars
Member
 
Registered: Jun 2005
Location: Edmonton, Canada
Distribution: SuSE 10
Posts: 51

Original Poster
Rep: Reputation: 15
It can't be something that requires a GUI as the server has no x-server or desktop environment on it. It will have to be administered via ssh from one of my client computers.

Of the backup programs mentioned (and if I choose vfat/fat32 as my backup filesystem) are any of the archives viewable or extractable on a windows system? This would give me more of a "warm and fuzzy" that I could extract them if I didn't have a linux system available.
 
Old 12-19-2006, 04:41 PM   #5
AlbinoJap
Member
 
Registered: Mar 2004
Posts: 36

Rep: Reputation: 15
Do you need them to be compressed in any way or just copied as is? If you can copy them as is, then go with rsync. Rsync will only copy over changes. That way you save time and resources when performing your weekly backup. If the partition is formatted as FAT32, then it should be accessible in Windows.
 
Old 12-23-2006, 11:50 PM   #6
jstars
Member
 
Registered: Jun 2005
Location: Edmonton, Canada
Distribution: SuSE 10
Posts: 51

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by AlbinoJap
Do you need them to be compressed in any way or just copied as is? If you can copy them as is, then go with rsync. Rsync will only copy over changes. That way you save time and resources when performing your weekly backup. If the partition is formatted as FAT32, then it should be accessible in Windows.
I tried rsync and liked it. The only problem I found was syncing between a linux filesystem and FAT32. Occasionally linux file permissions could not be tranferred to FAT32, leading to rsync giving "chown" errors. I ended up using ext3 as there is freeware available (free as in beer) to read ext3 from Windows XP.
 
  


Reply



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
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 01:13 AM
Error when attempting backup with File Backup lglrgl Linux - Software 0 08-03-2006 10:38 AM
can I backup a root disk and boot from the new backup disk linuxbkp Linux - Enterprise 3 10-15-2004 06:42 PM
Selective backup to CDRW, or other backup methods. trekk Linux - Software 1 11-03-2003 02:46 PM
backup and update the backup file doris Linux - General 4 08-24-2002 07:26 PM

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

All times are GMT -5. The time now is 06:37 PM.

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