![]() |
Map/Mount Volume Group Folder to Volume Group Folder???
I am trying to backup FreePBX, but it will only back up to it's specified path on the local disk. I have another partition/volume group with Gigabytes in free space. I want to point/mount that space to the default location for PBX which is on the root partition/VG. Is that possible?
This is also on mirrored drives. So, essentially I want to have /var/lib/asterisk/backups on the root partition/VG pointing to /backups on the /home partition/VG Code:
[root@localhost asterisk]# df -h Code:
[root@localhost asterisk]# fdisk -l |
Would a symlink work?
--C |
As a newbie, I don't know, but it doesn't seem like it. I got the idea from a support page for PBX which said you could mount a USB Drive and mount the usb to the root path where FreePBX would try and point files, but I can't figure out how to do the same thing with a partition/VG. I don't even know if those above are true partitions or Volume Groups. I'm reading up as much as I can.
If I can as root on the local system copy a file pointed to /var/lib/asterisk/backups and the data would actually end up in /home/backups I believe it will work. I don't care how I get there. |
Okay; then try this
Code:
ln -s /home/backups /var/lib/asterisk/backups Verify with... Code:
touch /var/lib/asterisk/backups/TEST.txt |
Thanks for your reply custangro, but unfortunately I won't be able to test the solution as the company I was working for shut their doors last week :(
On to bigger and better things I guess. |
All times are GMT -5. The time now is 03:08 AM. |