Does remote FTP in legacy backup uploads for retention?
Upon checking the logs:
When performing weekly backups with monthly retention, I was under the impression that STOR command would only be used once for the weekly folder and the file will just be copied in the monthly folder. But, according to logs it appears STOR command is being used for weekly and monthly folders. This means FTP bandwidth is being used twice for the same file. Is this the expected behavior?
Net::FTP=GLOB(0x2050330)<<< 220 ProFTPD 1.3.3a Server (myservername) [myserverip]
Net::FTP=GLOB(0x2050330)>>> USER myusername
Net::FTP=GLOB(0x2050330)<<< 331 Password required for myusername
Net::FTP=GLOB(0x2050330)>>> PASS ....
Net::FTP=GLOB(0x2050330)<<< 230 User myusername logged in
Net::FTP=GLOB(0x2050330)>>> TYPE I
Net::FTP=GLOB(0x2050330)<<< 200 Type set to I
Net::FTP=GLOB(0x2050330)>>> MKD cpbackup
Net::FTP=GLOB(0x2050330)<<< 550 cpbackup: File exists
Net::FTP=GLOB(0x2050330)>>> MKD cpbackup/weekly
Net::FTP=GLOB(0x2050330)<<< 550 cpbackup/weekly: File exists
Net::FTP=GLOB(0x2050330)>>> CWD cpbackup/weekly
Net::FTP=GLOB(0x2050330)<<< 250 CWD command successful
Net::FTP=GLOB(0x2050330)>>> ALLO 2089501
Net::FTP=GLOB(0x2050330)<<< 202 No storage allocation necessary
Net::FTP=GLOB(0x2050330)>>> PASV
Net::FTP=GLOB(0x2050330)<<< 227 Entering Passive Mode (removed).
Net::FTP=GLOB(0x2050330)>>> STOR cpuser.tar.gz
Net::FTP=GLOB(0x2050330)<<< 150 Opening BINARY mode data connection for cpuser.tar.gz
Net::FTP=GLOB(0x2050330)<<< 226 Transfer complete
Net::FTP=GLOB(0x2050330)>>> QUIT
Net::FTP=GLOB(0x2050330)<<< 221 Goodbye.
Net::FTP=GLOB(0x2202670)<<< 220 ProFTPD 1.3.3a Server (myservername) [myserverip]
Net::FTP=GLOB(0x2202670)>>> USER myusername
Net::FTP=GLOB(0x2202670)<<< 331 Password required for myusername
Net::FTP=GLOB(0x2202670)>>> PASS ....
Net::FTP=GLOB(0x2202670)<<< 230 User myusername logged in
Net::FTP=GLOB(0x2202670)>>> TYPE I
Net::FTP=GLOB(0x2202670)<<< 200 Type set to I
Net::FTP=GLOB(0x2202670)>>> MKD cpbackup
Net::FTP=GLOB(0x2202670)<<< 550 cpbackup: File exists
Net::FTP=GLOB(0x2202670)>>> MKD cpbackup/monthly
Net::FTP=GLOB(0x2202670)<<< 550 cpbackup/monthly: File exists
Net::FTP=GLOB(0x2202670)>>> CWD cpbackup/monthly
Net::FTP=GLOB(0x2202670)<<< 250 CWD command successful
Net::FTP=GLOB(0x2202670)>>> ALLO 2089501
Net::FTP=GLOB(0x2202670)<<< 202 No storage allocation necessary
Net::FTP=GLOB(0x2202670)>>> PASV
Net::FTP=GLOB(0x2202670)<<< 227 Entering Passive Mode (removed).
Net::FTP=GLOB(0x2202670)>>> STOR cpuser.tar.gz
Net::FTP=GLOB(0x2202670)<<< 150 Opening BINARY mode data connection for cpuser.tar.gz
Net::FTP=GLOB(0x2202670)<<< 226 Transfer complete
Net::FTP=GLOB(0x2202670)>>> QUIT
Net::FTP=GLOB(0x2202670)<<< 221 Goodbye.When performing weekly backups with monthly retention, I was under the impression that STOR command would only be used once for the weekly folder and the file will just be copied in the monthly folder. But, according to logs it appears STOR command is being used for weekly and monthly folders. This means FTP bandwidth is being used twice for the same file. Is this the expected behavior?
-
Hello :) I believe the following feature request references the same scenario: [url=http://features.cpanel.net/responses/copy-yesterdays-daily-backup-to-weekly-monthly-retention-before-running-todays]Copy yesterday's daily backup to weekly / monthly retention BEFORE running today's | cPanel Feature Requests However, the legacy backup system will not receive any new modifications. It's recommended that you consider switching to the new backup system. Thank you. 0 -
Right now I couldn't use the new backup system due to low disk space issue, I actually have a feature request for this. 0
Please sign in to leave a comment.
Comments
2 comments