Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

chattr symlink ??

Discussion in 'General Discussion' started by koniosek, Dec 22, 2004.

  1. koniosek

    koniosek Member

    Feb 6, 2003
    Likes Received:
    Trophy Points:
    Hi. I have small problem. I want backup accounts daily and weekly but on two different hdd.
    For example backup is done in:
    then I remove weekly dir and create symlink weekly to my another partition ... but each time when backup is running it removes symlink and again create normal directory.
    I was trying to "chattr +i {my_symlink}" -> "chattr +i weekly" but I've got error:
    chattr: Invalid argument while reading flags on weekly/

    Is there possibility to lock this symlink that it can't be removed/changed. Or do this in some other way (something without changing cpanel files - I know that I could edit cpbackup script or sth like this - but i don't want do this) ?
    thank you

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice