Backup failing

Started by eirsik, October 18, 2015, 12:13:22 PM

Previous topic - Next topic

eirsik

Hello people!

I noticed my backup folder was empty so I ran the manual backup command:
/usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php

And I get a lot of access denied and no such folder. see the log below.

QuoteDate which backup script is using: 2015-10-18 12:01:06

/bin/mkdir: cannot create directory `/backup/daily': Operation not permitted

###############################################
Daily Files Backup starting
###############################################



Username: norsat
========================================
rsync: mkdir "/backup/daily/norsat" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(576) [receiver=3.0.6]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
sending incremental file list


Username: articc
========================================
rsync: mkdir "/backup/daily/articc" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(576) [receiver=3.0.6]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
sending incremental file list

###############################################
Daily Files Backup finished
###############################################


###############################################
Daily MySQL Backup starting
###############################################

/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
Skipping database: information_schema.
/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
sh: /backup/mysql/daily//articc_main.sql: No such file or directory
Database Backup: articc_main --> /backup/mysql/daily//articc_main.sql
/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
Skipping database: mysql.
/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
sh: /backup/mysql/daily//norsat_client.sql: No such file or directory
Database Backup: norsat_client --> /backup/mysql/daily//norsat_client.sql
/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
sh: /backup/mysql/daily//norsat_norsat.sql: No such file or directory
Database Backup: norsat_norsat --> /backup/mysql/daily//norsat_norsat.sql
/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
sh: /backup/mysql/daily//postfix.sql: No such file or directory
Database Backup: postfix --> /backup/mysql/daily//postfix.sql
/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
sh: /backup/mysql/daily//root_cwp.sql: No such file or directory
Database Backup: root_cwp --> /backup/mysql/daily//root_cwp.sql
/bin/mkdir: cannot create directory `/backup/mysql': Operation not permitted
sh: /backup/mysql/daily//roundcube.sql: No such file or directory
Database Backup: roundcube --> /backup/mysql/daily//roundcube.sql

###############################################
Daily MySQL Backup finished
###############################################

Is there something I've done wrong? Any help would be appreciated :)
Thanks for your time.

Administrator

does you backup dir exists ?

eirsik

Yes.
I've tried with different folders. Made them my self and I've tried to let cwp create one for me.
The folder is there.
After the first backup try it contains the folder .ssh and lost+found, but both are empty. :(

Thanks

Administrator

you should check this with support also you should try to crate this folder manually just for testing.