Backup-Manager icon indicating copy to clipboard operation
Backup-Manager copied to clipboard

Difference between archive's size before and after ftp upload

Open adynemo opened this issue 6 years ago • 6 comments

Hi, In /var/archives/ my master tar.gz file is 78G. But after the ftp upload, in my second server (backup server), the same file is 39,6G...

Why this difference?

adynemo avatar Feb 27 '19 22:02 adynemo

cirno-chan:/var/archives # file cirno-chan-boot.20190226.master.tar.lzma 
cirno-chan-boot.20190226.master.tar.lzma: symbolic link to /var/archives/cirno-chan-boot.20190227.master.tar.lzma

linxon avatar Feb 28 '19 05:02 linxon

Sorry, but in what that helps me?

adynemo avatar Feb 28 '19 15:02 adynemo

(i'm not developer and... i'm bad know english ^_^)

I can assume that your config use symbolic links which the backup-manager creates automatically in /var/archives, if the data hashsum is the same as the previous one...

may be ftp uploader is not work with relative file paths or can't work with symbolic links

you can try to find a duplicate files in your server:

~$ fdupes --help
~$ fdupes -m /path/to/backup/files

linxon avatar Feb 28 '19 16:02 linxon

I'm bad know english too ^^ First, thank you so much if you don't be a developer and english is not your language, this is very kind of you to help me :)

fdupes isn't installed on my debian but I'm sure the archive created by BM in /var/archives is not a symbolic link. When I do ls -lah, the file isn't displayed like a symbolic link and when I do file name_of_file.tar.gz I have this: name_of_file.tar.gz: gzip compressed data, from Unix

I have seen logs and ftp had made errors:

Feb 27 18:00:53  backup-manager-upload[23856]: error * Unable to transfer /var/archives/Owncloud-2-var-www-html-owncloud-data-DrWhat-files-Marvel.20190227.master.tar.gz: Since you see this ABOR must've succeeded - BackupManager::Dialog::print_error (/usr/bin/backup-manager-upload l. 764)
Feb 27 18:00:53  backup-manager-upload[23856]: error * The upload transfer "ftp" failed. - BackupManager::Dialog::print_error (/usr/bin/backup-manager-upload l. 1059)
Feb 27 18:00:54  backup-manager[19535]: error * Error reported by backup-manager-upload for method "ftp", check "/tmp/bmu-log.3vGdCh".

Obviously, something happened during the transfer. But what? My other server for the backup has some size limit for the ftp, my main server, or Backup-Manager?

adynemo avatar Feb 28 '19 20:02 adynemo

Did you check the content of the /tmp/bmu-log.3vGdCh file ?

kissifrot avatar Mar 01 '19 08:03 kissifrot

Thks, I do not know this file. But there is no more ^^ Unable to transfer /var/archives/Owncloud-2-var-www-html-owncloud-data-DrWhat-files-Marvel.20190227.master.tar.gz: Since you see this ABOR must've succeeded The upload transfer "ftp" failed.

adynemo avatar Mar 01 '19 23:03 adynemo