Exactly what Johannes said, but based on the output of your /var/log/messages I think the second step will be
mount /dev/sda /mnt/usb -----Original Message----- From: Johannes Vanderknyff [mailto:johannes.vanderkn...@gmail.com] Sent: Tuesday, June 16, 2009 3:13 PM To: aster...@voip-pbx.ca Cc: asterisk@uc.org Subject: Re: [on-asterisk] Backup and restore to a USB stick Hmmm. Doesn't look like it is "mounted" yet. I just googled "linux how to mount usb drive"... Create the directory mkdir /mnt/usb Next, mount the drive mount /dev/sda1 /mnt/usb Then, see if it works: cd /mnt/usb ls You should see a list of the files on your USB drive. Johannes On Tue, Jun 16, 2009 at 3:07 PM, Henry L.Coleman<aster...@voip-pbx.ca> wrote: > This is what I get > > r...@pbx:~ $ mount > /dev/hda2 on / type ext3 (rw) > proc on /proc type proc (rw) > sysfs on /sys type sysfs (rw) > devpts on /dev/pts type devpts (rw,gid=5,mode=620) > /dev/hda1 on /boot type ext3 (rw) > tmpfs on /dev/shm type tmpfs (rw) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > > ----------------- > Henry L. Coleman > [VoIP-PBX.ca] > > ================= > >> Johannes Vanderknyff< >> (NOTE: I don't know much about FreePBX) >> >> If you can get to the console, type "mount" and that should give you a >> listing of "mounted" filesystems. >> If FreePBX mounted the USB drive, you'll be good to go and you can just copy >> (cp) the files to that location. >> >> Johannes >> >> On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman <aster...@voip-pbx.ca>wrote: >> >>> 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: asterisk-unsubscr...@uc.org >>> For additional commands, e-mail: asterisk-h...@uc.org >>> >>> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: asterisk-unsubscr...@uc.org > For additional commands, e-mail: asterisk-h...@uc.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: asterisk-unsubscr...@uc.org For additional commands, e-mail: asterisk-h...@uc.org --------------------------------------------------------------------- To unsubscribe, e-mail: asterisk-unsubscr...@uc.org For additional commands, e-mail: asterisk-h...@uc.org