I’ve added a remote SFTP location and created first backup by hand. When I’ve scheduled backups to the same destination daily. At 12:00 I’m receiving cron job errors and actual backup restore points are empty.
(Cron Daemon)
12:00 (7 минут назад)
кому: root
/usr/local/CyberCP/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1447: RuntimeWarning: DateTimeField IncJob.date received a naive datetime (2019-11-12 09:00:03.632320) while time zone support is active.
RuntimeWarning)
/usr/local/CyberCP/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1447: RuntimeWarning: DateTimeField IncJob.date received a naive datetime (2019-11-12 09:00:04.012816) while time zone support is active.
RuntimeWarning)
Starting Incremental Backup job..
Job Description:
Destination: sftp:[IP], Frequency: Daily.
Backing up [DOMAIN].
Will first initiate backup repo..
Repo sftp:[IP] initiated for [DOMAIN].
Domains matching query does not exist.. [warning:179:prepMeta]
Meta data is ready..
Backing up data..
'NoneType' object has no attribute 'split'. [IncJobs.backupData.223][5009]
Failed backup for [DOMAIN], error: Will first initiate backup repo..
Repo sftp:[IP] initiated for [DOMAIN].
Domains matching query does not exist.. [warning:179:prepMeta]
Meta data is ready..
Backing up data..
'NoneType' object has no attribute 'split'. [IncJobs.backupData.223][5009]
.
If I run incremental backup manually from panel it works fine:
Will first initiate backup repo..
Fatal: create repository at sftp:[IP]:/home/backup/[DOMAIN] failed: config file already exists
Repo sftp:[IP] initiated for [DOMAIN].
Domains matching query does not exist.. [warning:179:prepMeta]
Meta data is ready..
Backing up data..
unable to open cache: unable to locate cache directory (XDG_CACHE_HOME and HOME unset)
Files: 429 new, 6 changed, 10030 unmodified
Dirs: 0 new, 1 changed, 0 unmodified
Added to the repo: 737.140 MiB
processed 10465 files, 1.445 GiB in 3:16
snapshot 388a3d11 saved
Data for [DOMAIN] backed to sftp:[IP].
Backing up databases..
unable to open cache: unable to locate cache directory (XDG_CACHE_HOME and HOME unset)
Files: 0 new, 1 changed, 0 unmodified
Dirs: 0 new, 2 changed, 0 unmodified
Added to the repo: 40.830 MiB
processed 1 files, 168.041 MiB in 0:20
snapshot f6851c6f saved