Koozali.org: home of the SME Server

[Announce] backup2usb alpha-release

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
[Announce] backup2usb alpha-release
« Reply #15 on: January 01, 2006, 10:59:14 PM »
Quote from: "wjhobbs"
Is there a comprehensive set of documentation for setting up and using backup2ws/backup2usb? This would help a noob like myself to understand what is going on.

The panels are very informative on their own. I've documented the 911 restore procedure here.

jfentum

Works on 6.5 RC1...
« Reply #16 on: January 28, 2006, 07:05:16 PM »
Just thought I would be a little more explicit about getting this great contrib working on 6.x system.

Darrell wrote:

"The harder part is getting your USB drive set up. It is a more complicated manual process in 6.x. You need to create your own mount point directory and add the correct entries to /etc/fstab."

 However, if you can get your hardware to work from the command line, the contrib will work."

Here's what I did:

Followed the instructions posted by Darrell up to the part where it says to reboot (but don't reboot!).

#cp /etc/fstab/ /etc/fstab.copy

(This was done as a precaution, just in case.)

#pico /etc/fstab

Add the following line at the end of the file:

/dev/sda1               /media/usbdisk           ext3    defaults        2 1

Control-X and "Y" to save the file.

Now test...

#mount /media/usbdisk

and (if there are no error messages)...

#ll /media/usbdisk

Should give you a return that looks something like this...

drwx------    2 root     root        12288 Jan 26 18:17 lost+found

I was then able to create a 911 job with "/media/usbdisk" as the Destination.

Hope this helps.

Offline idyll

  • ***
  • 113
  • +0/-0
restore documentation
« Reply #17 on: February 01, 2006, 02:49:47 AM »
Hello.

I have been using Backup to USB on my 6.01 system, backing up to a 250GB Maxtor residing inside a "SATA Vault"  USB enclosure. This is one of those with a removable slider tray.

Link to product blurb for reference

http://www.cooldrives.com/esata-usb-enclosure-removable.html

Your link to the .pdf which describes the recovery process is broken. Is there anything more to it than just clicking upon "restore" and then performing the post event routine?


thanks in advance.

patrick
...

Offline idyll

  • ***
  • 113
  • +0/-0
somethin strange
« Reply #18 on: February 02, 2006, 05:16:07 PM »
I attach the emailed output of a manual 911 job. it looks fine, as have the previous automatic backups. The machine is a 6.0.1-01 version.

The problem is there is nothing on the external usb drive when I cd and look at it? Is there some syntax I need to learn to "show" the .rar files when using a shell? I normally use "ls -alg" but obviously this is not working. See below. It says "total 8" but is listing nothing???

Your help is appreciated.

patrick

-- snip --

# ----------------------------------------------------------------
# backup2usb report for Disaster Recovery, job number 911:
# ----------------------------------------------------------------

Please review the dates, time and sizes of the following:

Actual backup destination = [ /media/usbdisk/911 ]

-rw-rw-rw-    1 root     admin    681574400 Feb  2 08:01 /media/usbdisk/911/911.02.02.06.part1.rar
-rw-rw-rw-    1 root     admin    681574400 Feb  2 08:02 /media/usbdisk/911/911.02.02.06.part2.rar
-rw-rw-rw-    1 root     admin    428375217 Feb  2 08:03 /media/usbdisk/911/911.02.02.06.part3.rar

Log file:

-rw-rw-rw-    1 root     admin     2004036 Feb  2 08:03 /var/log/backup2usb/911.log

End of log file reports:

Adding    /root/plus/dhcpmanager                                          OK
Adding    /root/plus/sacolprng                                            OK
Adding    /root/plus/sacoisoqlog                                          OK
Adding    /root/plus/rkhunter                                             OK
Adding    /root/plus/twig                                                 OK
Adding    /root/plus/raid                                                 OK
Adding    /root/raidmonitor                                               OK
Adding    /root/.razor                                                    OK
Adding    /root/.spamassassin                                             OK
Done

--------snip----------

[root@galadriel usbdrive]# ls -alg
total 8
drwxr-xr-x    2 root     admin        4096 Jan 31 17:06 .
drwxr-xr-x    4 root     admin        4096 Jan 31 17:06 ..
[root@galadriel usbdrive]#
...

Offline wjhobbs

  • ****
  • 171
  • +0/-0
    • http://www.chryxus.ca
[Announce] backup2usb alpha-release
« Reply #19 on: February 02, 2006, 05:21:37 PM »
Darrell,

This is a feature request.

Backup2usb seems to work really well. One of my reasons for using a usb drive for backup is to be able to take the backup media off-site. However, while the disk is in transit it represents a security risk in itself.

Would it be possible to add a capability to encrypt the backup archive? In that way, if the backup media fell into the wrong hands, it would be very difficult (nothing is impossible) for my data to be compromised.

Thanks for considering the idea.

John
...

Offline warren

  • *
  • 293
  • +0/-0
Backup2usb points
« Reply #20 on: May 11, 2006, 11:12:22 PM »
Something that others might over look .

Quote from: "idyll"
I attach the emailed output of a manual 911 job. it looks fine, as have the previous automatic backups. The machine is a 6.0.1-01 version.

The problem is there is nothing on the external usb drive when I cd and look at it? Is there some syntax I need to learn to "show" the .rar files when using a shell? I normally use "ls -alg" but obviously this is not working. See below. It says "total 8" but is listing nothing???


[root@galadriel usbdrive]# ls -alg
total 8
drwxr-xr-x    2 root     admin        4096 Jan 31 17:06 .
drwxr-xr-x    4 root     admin        4096 Jan 31 17:06 ..
[root@galadriel usbdrive]#


The drive is unmounted after the backup , to seethe files you must mount the drive ( mount /mdeia/usbdisk  ) and then  ls -l /media/usbdisk
which will show a 911 directory.

Secondly, when setting up the usb disk in /etc/fstab , one could come across a issue that the usb drive is on a (remote or i suppose local accessable) server, the usb drive gets removed for one or other reason say after a backup and whilst removed, you need to re-boot the server.
with the following settings in /etc/fstab
Quote from: "jfentum"

Add the following line at the end of the file:

/dev/sda1 /media/usbdisk ext3 defaults 2 1


The server will not boot as it cant find the filesystem referenced by the fstab, and you will be dropped out to a shell; ( problematic if you are accessing via Putty ?   :idea: )

Rather put the following into fstab :

/dev/sda1 /media/usbdisk ext3 noauto 0 0

The backup2usb contrib mounts the usb at start of the backup job and unmounts it on completion.

I have this set up with a WD Passport 80GB Drive on SME 6.0.1-01.
Darrell, great contrib, thanks.  8-)


Warren