Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - eirsik

Pages: [1]
1
Backup / Backup failing
« on: October 18, 2015, 12:13:22 PM »
Hello people!

I noticed my backup folder was empty so I ran the manual backup command:
Code: [Select]
/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.

Quote
Date 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.

Pages: [1]