View Single Post
  #7  
Old 1st January 2010, 12:11
go0ogl3 go0ogl3 is offline
Member
 
Join Date: Jul 2008
Posts: 73
Thanks: 5
Thanked 39 Times in 6 Posts
Default

Quote:
Originally Posted by Snake12 View Post
Hi, i have a problem on my server (Ubuntu 8.04.3 LTS) with your script.

admin@serverWeb:/root$ sudo ./back-res
df: `/bck/serverWeb.adsl.net': No such file or directory
df: no file systems processed
./back-res: line 230: [: -gt: unary operator expected
mkdir: cannot create directory `/bck/serverWeb.adsl.net/log': No such file or directory
./back-res: line 167: /bck/serverWeb.adsl.net/log/backup.log: No such file or directory
./back-res: line 173: /bck/serverWeb.adslnocable.it/log/backup.log: No such file or directory
mkdir: cannot create directory `/bck/serverWeb.adsl.net/log': No such file or directory
./back-res: line 167: /bck/serverWeb.adslnocable.it/log/backup.log: No such file or directory


can u help me ?

Thanks!!
You need to configure corectly the backup dir, line 107 from the script, "BACKUPDIR" variable. It's the place where to store the backups and it must exist.

P.S.: sorry for the delay in answer, hope will help you!
Reply With Quote