A
andreyb
Guest
When I switch on the backupmng at crontab then the backup is made cyclically without halt.
If I shall switch off backupmng at crontab and I shall wait the finish of all processes of backup then all created temporary files will be deleted:
#
#ls -l /var/lib/psa/dumps/tmp
total 0
# ls -l /usr/local/psa/tmp
total 252
-rwxrwxrwx 1 root root 126857 Sep 18 07:40 default_skeleton.tgz
-rwxrwxrwx 1 root root 479 Sep 18 07:14 ftp.pamd
-rwxrwxrwx 1 root root 34001 Sep 18 07:14 psa.key
-rwxrwxrwx 1 root root 20480 Sep 18 07:14 run-root.tar
-rwxrwxrwx 1 root root 59487 Sep 18 07:41 vhosts.tar.gz
#
But value of column "last" don't change:
mysql> select id, obj_type, repository, last, period, active, processed, files, prefix, objects, split_size from BackupsScheduled where active=true;
+----+----------+------------+---------------------+--------+--------+-----------+-------+--------+---------+------------+
| id | obj_type | repository | last | period | active | processed | files | prefix | objects | split_size |
+----+----------+------------+---------------------+--------+--------+-----------+-------+--------+---------+------------+
| 1 | domain | ftp | 2007-11-06 06:45:00 | 86400 | true | true | 7 | | 1 | 0 |
| 2 | domain | ftp | 2007-11-06 05:30:00 | 86400 | true | true | 7 | | 2 | 0 |
| 4 | domain | ftp | 2007-11-06 06:15:00 | 86400 | true | true | 7 | | 4 | 0 |
| 5 | domain | ftp | 2007-11-06 06:30:00 | 86400 | true | true | 3 | | 5 | 0 |
| 6 | domain | ftp | 2007-11-06 06:00:00 | 86400 | true | true | 7 | | 6 | 0 |
| 8 | domain | ftp | 2007-11-06 08:15:00 | 86400 | true | true | 7 | | 8 | 0 |
| 11 | domain | ftp | 2007-11-06 07:00:00 | 86400 | true | true | 7 | | 11 | 0 |
| 12 | domain | ftp | 2007-11-06 07:15:00 | 86400 | true | true | 7 | | 12 | 0 |
| 13 | domain | ftp | 2007-11-06 07:30:00 | 86400 | true | true | 7 | | 13 | 0 |
| 15 | domain | ftp | 2007-11-06 08:30:00 | 86400 | true | true | 7 | | 15 | 0 |
| 16 | domain | ftp | 2007-11-06 07:45:00 | 86400 | true | true | 7 | | 16 | 0 |
| 17 | domain | ftp | 2007-11-06 08:00:00 | 86400 | true | true | 7 | | 17 | 0 |
| 18 | domain | ftp | 2007-11-06 08:45:00 | 86400 | true | true | 7 | | 18 | 0 |
| 19 | domain | ftp | 2007-11-06 09:00:00 | 86400 | true | true | 7 | | 19 | 0 |
| 20 | domain | ftp | 2007-11-06 09:15:00 | 86400 | true | true | 7 | | 20 | 0 |
+----+----------+------------+---------------------+--------+--------+-----------+-------+--------+---------+------------+
What is reason of cyclically backup.
If I shall switch off backupmng at crontab and I shall wait the finish of all processes of backup then all created temporary files will be deleted:
#
#ls -l /var/lib/psa/dumps/tmp
total 0
# ls -l /usr/local/psa/tmp
total 252
-rwxrwxrwx 1 root root 126857 Sep 18 07:40 default_skeleton.tgz
-rwxrwxrwx 1 root root 479 Sep 18 07:14 ftp.pamd
-rwxrwxrwx 1 root root 34001 Sep 18 07:14 psa.key
-rwxrwxrwx 1 root root 20480 Sep 18 07:14 run-root.tar
-rwxrwxrwx 1 root root 59487 Sep 18 07:41 vhosts.tar.gz
#
But value of column "last" don't change:
mysql> select id, obj_type, repository, last, period, active, processed, files, prefix, objects, split_size from BackupsScheduled where active=true;
+----+----------+------------+---------------------+--------+--------+-----------+-------+--------+---------+------------+
| id | obj_type | repository | last | period | active | processed | files | prefix | objects | split_size |
+----+----------+------------+---------------------+--------+--------+-----------+-------+--------+---------+------------+
| 1 | domain | ftp | 2007-11-06 06:45:00 | 86400 | true | true | 7 | | 1 | 0 |
| 2 | domain | ftp | 2007-11-06 05:30:00 | 86400 | true | true | 7 | | 2 | 0 |
| 4 | domain | ftp | 2007-11-06 06:15:00 | 86400 | true | true | 7 | | 4 | 0 |
| 5 | domain | ftp | 2007-11-06 06:30:00 | 86400 | true | true | 3 | | 5 | 0 |
| 6 | domain | ftp | 2007-11-06 06:00:00 | 86400 | true | true | 7 | | 6 | 0 |
| 8 | domain | ftp | 2007-11-06 08:15:00 | 86400 | true | true | 7 | | 8 | 0 |
| 11 | domain | ftp | 2007-11-06 07:00:00 | 86400 | true | true | 7 | | 11 | 0 |
| 12 | domain | ftp | 2007-11-06 07:15:00 | 86400 | true | true | 7 | | 12 | 0 |
| 13 | domain | ftp | 2007-11-06 07:30:00 | 86400 | true | true | 7 | | 13 | 0 |
| 15 | domain | ftp | 2007-11-06 08:30:00 | 86400 | true | true | 7 | | 15 | 0 |
| 16 | domain | ftp | 2007-11-06 07:45:00 | 86400 | true | true | 7 | | 16 | 0 |
| 17 | domain | ftp | 2007-11-06 08:00:00 | 86400 | true | true | 7 | | 17 | 0 |
| 18 | domain | ftp | 2007-11-06 08:45:00 | 86400 | true | true | 7 | | 18 | 0 |
| 19 | domain | ftp | 2007-11-06 09:00:00 | 86400 | true | true | 7 | | 19 | 0 |
| 20 | domain | ftp | 2007-11-06 09:15:00 | 86400 | true | true | 7 | | 20 | 0 |
+----+----------+------------+---------------------+--------+--------+-----------+-------+--------+---------+------------+
What is reason of cyclically backup.