Page 1 of 1

File size usage copied with SCP larger then source?

Posted: Thu Nov 28, 2013 6:26 pm
by Julie
Hi all,

Happy Thanksgiving for those in the USA :D

I have a question about the scp command. I am using it to copy a directory containing my Vertica backups, made via the vbr utility, to another server. I noticed that the disk usage on the destination server is much larger that that of the source.

Source server:
  • [dbadmin@vertica1 verticabackups]$ du -h --summarize
    20G .
Destination server:
  • [dbadmin@verticabk verticabackups]$ du -h --summarize
    73G
Here is the scp command that I am using on the vertica1 server:
  • /usr/bin/scp -rq /home/dbadmin/verticabackups dbadmin@verticabk:/home/dbadmin
Any idea why the destination server file usage size ballooned like that?

Re: File size usage copied with SCP larger then source?

Posted: Fri Nov 29, 2013 7:19 am
by id10t
Hi!

[DELETED]

Re: File size usage copied with SCP larger then source?

Posted: Mon Dec 02, 2013 2:10 pm
by Julie
Thanks, sKwa. I read through those posts but could not find an actual solution. Do you have any recommendations? What if I compress the source during transfer and leave it compressed at the destination? Would that handle the hard and soft links issue?