使用1panel版本v1.10.13-lts
新建计划任务,备份文件搭配sftp
手动执行备份,文件成功备份到sftp
手动测试删除备份文件,勾选删除文件。实际测试sftp文件没有同步删除
查看操作日志,没有显示异常
查看系统日志,也没发现异常
[2024-09-03 02:06:14] [INFO] Synchronization with the App Store was successful!
[2024-09-03 02:06:14] [INFO] AppStore scheduled task has completed
[2024-09-03 03:30:00] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/app/minio/minio/app_minio_20240903033000jm4m8/app.tar.gz --exclude *.sock -C /opt/1panel/apps/minio minio
[2024-09-03 03:34:57] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf - --exclude *.sock -C /opt/1panel/tmp/app/minio/minio app_minio_20240903033000jm4m8 | openssl enc -aes-256-cbc -salt -k '1qazXSW@' -out /opt/1panel/tmp/app/minio/minio/app_minio_20240903033000jm4m8.tar.gz
[2024-09-03 03:38:30] [DEBUG] start upload file to SFTP, dir: app/minio/minio/app_minio_20240903033000jm4m8.tar.gz
[2024-09-03 03:42:27] [DEBUG] upload successful!
[2024-09-03 03:42:28] [INFO] start to handle remove expired, retain copies: 7
[2024-09-03 10:00:43] [ERROR] reading webSocket message failed, err: websocket: close 1005 (no status)
[2024-09-03 10:00:43] [DEBUG] thread of receive ws msg has exited now
[2024-09-03 10:00:43] [INFO] websocket finished
[2024-09-03 10:00:43] [ERROR] ssh session wait failed, err: signal: killed
[2024-09-03 10:00:43] [DEBUG] thread of handle slave event has exited now
[2024-09-03 17:12:26] [DEBUG] remove snapshot file snapshot_1panel_v1.10.11-lts_amd64_20240726203000xtm7u.tar.gz from LOCAL
[2024-09-03 17:13:17] [DEBUG] remove snapshot file 1panel_v1.10.2-lts_amd64_20240411131047.tar.gz from LOCAL
[2024-09-03 17:13:17] [DEBUG] remove snapshot file snapshot_1panel_v1.10.11-lts_amd64_20240719203000hptid.tar.gz from LOCAL
[2024-09-03 17:13:19] [DEBUG] remove snapshot file snapshot_1panel_v1.10.11-lts_amd64_202408022030007bkrz.tar.gz from LOCAL
[2024-09-03 17:13:21] [DEBUG] remove snapshot file snapshot_1panel_v1.10.11-lts_amd64_20240809203000bswv7.tar.gz from LOCAL
[2024-09-03 17:13:23] [DEBUG] remove snapshot file snapshot_1panel_v1.10.11-lts_amd64_20240816203000jns4k.tar.gz from LOCAL
[2024-09-03 17:13:26] [DEBUG] remove snapshot file snapshot_1panel_v1.10.11-lts_amd64_20240823203000z3c84.tar.gz from LOCAL
[2024-09-03 17:13:28] [DEBUG] remove snapshot file snapshot_1panel_v1.10.13-lts_amd64_20240830203000zqb6s.tar.gz from SFTP
[2024-09-03 17:13:42] [INFO] stop cronjob entryID: 12
[2024-09-03 17:13:42] [INFO] start to handle remove expired, retain copies: 0
[2024-09-03 17:19:25] [INFO] stop cronjob entryID: 13
[2024-09-03 17:19:25] [INFO] start to handle remove expired, retain copies: 0
[2024-09-03 17:21:51] [INFO] create cronjob 备份数据库 successful, spec: 30 2 * * *
[2024-09-03 17:21:51] [INFO] add app job 备份数据库 successful
[2024-09-03 17:21:51] [INFO] start cronjob entryID: 14
[2024-09-03 17:21:55] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/app/postgresql/postgresql/app_postgresql_20240903172155kiumc/app.tar.gz --exclude *.sock -C /opt/1panel/apps/postgresql postgresql
[2024-09-03 17:22:06] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/app/postgresql/postgresql/app_postgresql_20240903172155kiumc.tar.gz --exclude *.sock -C /opt/1panel/tmp/app/postgresql/postgresql app_postgresql_20240903172155kiumc
[2024-09-03 17:22:08] [DEBUG] start upload file to SFTP, dir: app/postgresql/postgresql/app_postgresql_20240903172155kiumc.tar.gz
[2024-09-03 17:22:11] [DEBUG] upload successful!
[2024-09-03 17:22:11] [INFO] start to handle remove expired, retain copies: 7
[2024-09-03 17:23:04] [INFO] stop cronjob entryID: 14
[2024-09-03 17:23:04] [INFO] start to handle remove expired, retain copies: 0
[2024-09-03 17:25:56] [INFO] create cronjob 111 successful, spec: 30 2 * * *
[2024-09-03 17:25:56] [INFO] add app job 111 successful
[2024-09-03 17:25:56] [INFO] start cronjob entryID: 15
使用相同的sftp账号,通过windows删除文件,可以正常删除,没有提示权限之类的信息