Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    Line 153: why cd $HOME/$filesPath? Why not cd $filesPath, with $filesPath being an absolute path (like /var/www/html and not www/html). Commented Oct 24, 2014 at 19:01
  • Tried removing $HOME/ in all instances where it appeared, replacing $filesPath and $backupDirectory with /var/www/vhosts/subscription-name/, varying (tried with starting, trailing slashes, one or the other, both, also tried with /html/ instead of /www/). No dice. Commented Oct 27, 2014 at 19:53
  • Not sure this is an answer so I'm commenting. I did not get the linked script working. This on ServerFault helped get a second script working. On the second script I changed tar -zcvf $filesname . to tar czvf and now the second script is working. This one also uses tar -zcvf so maybe removing the dash would have worked here as well. Thanks for the assistance: sorry I can't offer upvotes (too new). Commented Oct 31, 2014 at 23:19