[help] Backup using Mint and a external USB enclosure

Questions about applications and software
Forum rules
Before you post please read how to get help

[help] Backup using Mint and a external USB enclosure

Postby mig_akira on Fri Dec 05, 2008 5:30 pm

Hello!

I'm using a 120gb HD 2.5" sata in a external USB enclosure. I would like to make backups using this enclosure, but I don't know how to do it in Mint. I heard there is a command line that is the best thing to backup files, because it would only backup modified files. In Windows, there are some softwares to do it. But I don't wanna have to boot into windows just to make a backup.

Does anyone know how can I do it in Mint?

Thanks!!!

PS - I will make a 10gb NTFS partition, just in case I need to use the enclosure with some PC with only windows installed. The rest I will set to Ext3.

Thanks again!
Linux Mint 5.0 RC1 (Gnome)
Dell Vostro 1400 | Core 2 Duo T8300 @ 2.4GHz | 2.5 GB Ram | nVidia GeForce 8400M GS | 120GB HD | DVD-RW |
mig_akira
Level 2
Level 2
 
Posts: 55
Joined: Wed Feb 13, 2008 12:56 am

Linux Mint is funded by ads and donations.
 

Re: [help] Backup using Mint and a external USB enclosure

Postby dmenear on Fri Dec 05, 2008 7:06 pm

I'm going to assume you are not having problems mounting the usb drive.

Next, I'd suggest not formatting your backup drive using NTFS and ext3 if you are going to be sharing the drive between Windows and linux. Instead, format it as a DOS partion(s) that can be read by both operating systems. You can do what you like, but that would be the simplest formatting solution. Your mileage may vary depending on your needs.

There are backup programs in the repositories, if you are looking for a program to do this with. I use rsync and chron to do my backups and if you search Google you can find sample scripts for accomplishing this.

Have fun!
dmenear
 

Re: [help] Backup using Mint and a external USB enclosure

Postby DataMan on Sat Dec 06, 2008 8:06 am

For the ext3 partition(s), you might want to check out the Backup Strategy on my web site for one approach. No constructive comment on the NTFS backups ... :) .

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015
User avatar
DataMan
Level 6
Level 6
 
Posts: 1226
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Indiana USA at /var/www

Re: [help] Backup using Mint and a external USB enclosure

Postby rhodry on Tue Dec 09, 2008 10:54 pm

mig_akira wrote:Hello!

I'm using a 120gb HD 2.5" sata in a external USB enclosure. I would like to make backups using this enclosure, but I don't know how to do it in Mint. I heard there is a command line that is the best thing to backup files, because it would only backup modified files. In Windows, there are some softwares to do it. But I don't wanna have to boot into windows just to make a backup.

Does anyone know how can I do it in Mint?

Thanks!!!

PS - I will make a 10gb NTFS partition, just in case I need to use the enclosure with some PC with only windows installed. The rest I will set to Ext3.

Thanks again!


I do all my 'home' (or user-based) type backups using rsync. There is a gui front-end for it called Grsync that is in the repos. It is a very powerful & flexible tool or this purpose. The first time you use it, it copies all the files to the external drive. Thereafter it only copies changes to files, new files and deletes old files. This is all subject to how you set it up. i.e. your command line options or your gui option selections.

It is important to understand what each of the options actually does so that you end up with the backup results you want. In the gui version it has a nice option to simulate the backup before actually doing it - this is really nice for troubleshooting the options. Don't forget to exclude caches and temp thumbnails etc - otherwise you are just backing up junk. Have a read of 'man rsync' and do some Google searching. There is heaps of stuff on the net about it including example scripts.

Once you have it sorted you can create a crontab entry and have the backups done automatically. Mine run every night here at 4am.

Regarding the drive format, I think you need to think about your usage. Personally, I have left Windows far behind so all my external drives are formatted as ext3. If someone from a Windows world needs access, I set them up as a Samba share - but they operate and are maintained as Linux drives first & foremost.

I think there is a version of rsync available in Windows, but you would have to Google it. As I said, I spend VERY little time in that world anymore.

Hope this helps,
Rhodry.
rhodry
Level 4
Level 4
 
Posts: 347
Joined: Mon Jun 04, 2007 7:32 am

Re: [help] Backup using Mint and a external USB enclosure

Postby blacknail on Wed Dec 10, 2008 1:55 pm

Hi,

Personally I use unison, a very simple command line application to make my backups. I have my stuff in a external disk and I backup it to a partition of the laptop. The syntax is as simple as "unison <source folder> <destiny folder>. I use it to replicate entirely my folder (if I delete something in the folder, unison will delete it also in the backup, etc) but I think you can configure it the way you want.

As simple to install as sudo apt-get install unison ;)

Hope it helps,
João
blacknail
Level 1
Level 1
 
Posts: 37
Joined: Mon Jun 09, 2008 11:00 am


Return to Software & Applications

Who is online

Users browsing this forum: Cosmo., groover and 25 guests