And you can sell that as part of your services :) (Maintenance contracts, etc)
Johannes On Wed, Jun 17, 2009 at 11:41 AM, Mike Ashton<[email protected]> wrote: > Henry, > > Something to consider. If the purpose is to have a backup in case of > disaster recovery, you should really consider off site, not to a local USB > stick. Also if you are providing support services to clients there is > nothing worse then a system failure and no current backups for recovery. I > don't have remote client voip installations this but what I do have is my > own business servers at a colo that require backup. > > What we do is have each server do it's backup locally, then after the backup > we utilize sftp and rsync to move any directories we want backed up to be > copied to a remote backup server. So if anything this could be an added > level of service you can provide to your clients! Extra revenue? > > You can implement this a few ways, but here is a link which gives a good > explanation on doing it for a web site a mysql server. > http://www.howtoforge.com/mirroring_with_rsync > > Another option is to use jungle disk, look here > http://www.jungledisk.com/howitworks.shtml > > Just some ideas! > > Mike > > > Douglas Pickett wrote: > > Henry, > The quick answer on where to find mounted filesystems is "df" (which as the > man page states "report file system disk space usage"). > > Here's what a trixbox system reports: > > # df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda2 74842944 2522460 68457256 4% / > /dev/hda1 101086 11084 84783 12% /boot > tmpfs 253700 0 253700 0% /dev/shm > /dev/sda1 2002892 627960 1374932 32% /mnt/usb > > The first column reports the device (on this system the USB stick is > /dev/sda1) and the last column ("Mounted on") shows the place where the > device is mounted onto the filesystem (in this case /mnt/usb). > > As for redirecting the output of the backup (assuming you can't tell the > backup utility to change where it puts the backup) is to change the target > directory of the mount command, or put in a symbolic link. The freepbx > backup/restore utility seems to create the backups under > /var/lib/asterisk/backups, then creates a directory corresponding to the > backup name, and puts the actual backup file in that directory. > > For the mount point idea, instead of mounting to /mnt/usb, you could do > > mount /dev/sda1 /var/lib/asterisk/backups > > This will hide any files and directories in that backups directory, and > replace them with the directory structure on the USB drive. When you umount > the USB stick they will re-appear. > > You can also use a symbolic link: > > ln -s /mnt/usb/daily /var/lib/asterisk/backups/daily > > This command creates a link in the backups directory called daily, that then > points to a directory on the USB drive. When you backup using the "daily" > config, the utility will think it is writing to the > /var/lib/asterisk/backups/daily directory, but will actually be writing to > /mnt/usb/daily. > > I think the best suggestion is to follow what Mike Ashton suggested with > rsync - you actually do the backups to the local hard drive, but then copy > the files over to the USB device. Given the limited number of write cycles > for USB flash memory, this is probably a good idea. > > Regards, > Doug. > > > > ----- Original Message ----- From: "Henry L.Coleman" <[email protected]> > To: <[email protected]> > Sent: Tuesday, June 16, 2009 1:48 PM > Subject: [on-asterisk] Backup and restore to a USB stick > > > Hi all, as many are aware FreePBX has a backup and restore function that can > schedule a backup of conf, cdr, and vmail. > This works very well but I need to back the files up to a USB stick instead > of a default backup directory. > My question (not being a good Linux man) is how do I the redirect the backup > path to this device. > When I plug the stick in, the consule indicates that the stick is recognised > and is working but does't tell me where > in the directory structure to find it. > > Help please? > > Henry L.Coleman [VoIP-PBX.ca] > ------------------------------------------------- > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > -- > Mike Ashton > > Quality Track Intl > CTO > Ph: 647-724-3500 x 301 > Cell: 416-527-4995 > Fax: 416-352-6043 > > QTI CONFIDENTIAL AND PROPRIETARY INFORMATION > > The contents of this material are confidential and proprietary to Quality > Track International, Inc. > and may not be reproduced, disclosed, distributed or used without the > express permission of an authorized representative of QTI. > Use for any purpose or in any manner other than that expressly authorized is > prohibited. > If you have received this communication in error, please immediately delete > it and all copies, and promptly notify the sender. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
