LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2010, 02:01 PM   #1
webwired
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
How to do backups to external USB drive


Hi everyone,... I'm a complete Linux
newbie, as I'm sure you'll be able to tell from my posts...

So anyway, to the question... I have a small IT consulting business and I am finding many of my clients couldn't afford Microsoft solutions and thus, going without... So a revelation hit me that I could offer Linux solutions, its just that I'm not a Linux guru... So after much research and installations of nearly every latest Linux distro, I decided on ClearOS as a good option for my clients that just require a good File/Print server, firewall and VPN solution... Everything was going fine until I got to the point where I was trying to get it to do backups to a USB drive... ClearOS does not come with the ability to do such, so from further research I found that I could install Webmin to handle that task and that it would not break ClearOS... Great, its just that its not working... It says its working, but its not...

So here's what I got, ClearOS 5.1 with Webmin 1.5

Here's what I have done to try to make it work after a good installation...

Under "Hardware" and "Partitions on Local Disks", it shows the USB drive as Device B... So I create a partion called "/dev/sdb1" Great, I'm thinking...

So I go to "System" and under "Filesystem backup", I select the FlexShare directory that I want backed up and then I select "/dev/sdb1" as the backup to device...

Next I hit the "Save and Backup Now" button to test it out... all says it goes good... But when I check the device, there's nothing saved to it...

So I create another "Filesystem backup", I select the FlexShare directory that I want backed up and this time I select a local directory for the backup to go to... I hit the "Save and Backup Now" button to test it out... all says it goes good... But once again when I check the directory, there's nothing saved to it...

Can someone please tell me what I am doing wrong?
 
Old 03-03-2010, 02:27 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Don't much about Webmin or ClearOS but I wonder whether you need to mount /dev/sdb1 to a mount point first, like: mount /dev/sdb1 /mnt/backup; Needless to say you need a filesystem on the partition first...

I use rsync for this job, something like rsync -avH /source /backup will work great, and can be automated in a cron job...
 
Old 03-05-2010, 09:40 AM   #3
webwired
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
Don't much about Webmin or ClearOS but I wonder whether you need to mount /dev/sdb1 to a mount point first, like: mount /dev/sdb1 /mnt/backup; Needless to say you need a filesystem on the partition first...

I use rsync for this job, something like rsync -avH /source /backup will work great, and can be automated in a cron job...

I tried, but I get this error when I attempt to backup...

tar: /mnt/backup: Cannot open: Is a directory
tar: Error is not recoverable: exiting now

Last edited by webwired; 03-05-2010 at 10:16 AM.
 
Old 03-06-2010, 03:57 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
If you give the exact commands that gave the error as well as the output of fdisk -l and mount (both as root or using sudo mount or sudo fdisk -l ) then it'll be easier for us to help you out. Clearly you're using tar, which is fine...
 
  


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
Use desktop with usb-usb cable as external bootable optical drive for netbook seancarver Linux - Laptop and Netbook 3 11-02-2009 09:38 PM
*** USB external hard drive and USB memory stick linux_2007_ Linux - General 1 07-17-2007 04:20 PM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 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