The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Juggling space with respect to backups

Discussion in 'General Discussion' started by stardotstar, Jun 14, 2010.

  1. stardotstar

    stardotstar Well-Known Member

    Joined:
    Sep 14, 2009
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Hi guys,

    I have a dedicated backup vol on my RAID array that has proven to be inadequete and I have therefore moved my backup target directory to a larger volume.

    What I would like to know is if I can use symlinks to utilise the original space as well.

    ie if the backup target is now

    /var/backup
    and it is a 100Gb partition

    and the dedicated /backup volume was only 20G

    Can I still get the backup system to use the additional 20G by symlinking say

    ./cpbackup/monthly
    and
    ./cpbackup/weekly

    for example to

    /backup/monthly
    /backup/weekly

    That way I will be able to use the physical space on the 20G partition for the older backups and not bloat the /var/backup partition.

    In the mean time I am building an iSCSI target to use as mass storage that will give me a terra or two for this purpose and get it off the main server.

    Best regards
    and TIA
    Will
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You can probably write a cron to periodically move the files from the external partition to the local one, but I don't see how to get cpanel to do that internally.
     
  3. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    You should be able to sym-link the directories.
     
  4. stardotstar

    stardotstar Well-Known Member

    Joined:
    Sep 14, 2009
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Thank you - I have put this in place and will wait and see!
     
Loading...

Share This Page