Hi there, penguins!
As a deletion of /home is not necessary at all when moving to an upgraded System (hint), I´d like to know hwo it might be possible to super-squeeze /home.
Of course, using an external drive would be the easiest way to go, but what to do if /home is HUGE and no adequate HDD is around?
Which command does exist to super-compress home as much as possible in oder to uncompress it on the new system?
NOTE: I am not looking forward to compress /home with any archiving tools like Arc.
I believe Ark (like file-roller) is just a frontend for the apps on the
backend. If you have a huge directory to squeeze, though, the same
technologies apply. To move them quickly with low compression just use
tar but to actually squeeze (rather than just bundle) data into a smaller
space use a compression application like gzip or bzip2:
tar -cvf /tmp/yourUserHomeDirectory.tar /home/yourUser #bundle
tar -zcvf /tmp/yourUserHomeDirectory.tgz /home/yourUser #gzip compress
tar -jcvf /tmp/yourUserHomeDirectory.tgz /home/yourUser #bzip2 compress
Once done move the /tmp/whatever file to your new box.
Good luck.
TheMask wrote:
> Hi there, penguins!
> As a deletion of /home is not necessary at all when moving to an
> upgraded System (hint), I´d like to know hwo it might be possible to
> super-squeeze /home.
> Of course, using an external drive would be the easiest way to go, but
> what to do if /home is HUGE and no adequate HDD is around?
>
> Which command does exist to super-compress home as much as possible in
> oder to uncompress it on the new system?
> NOTE: I am not looking forward to compress /home with any archiving
> tools like Arc.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Umpf, isn´t there some other way to do this? When doing this like you suggested, I´d have to install Ark again - and I´ve uninstalled it for a reason.
Which internal compressing commands do exist for OpenSuse?
If it’s about moving /home to a new system, I never compress. I put the new drive in my main system, ‘dd’ /home to the new disk, after that enlarge the partition if needed.
‘dd’ is a command to copy data byte-by-byte from one place to another.
Personally I do not know why you would use this over just a plain old ‘cp’
of data from the source to the destination (especially since you could
have the destination be a larger size from the start) but hopefully that
explanation will come. Using ‘cp’ and other commands also means you can
optimize transfer of things like sparse files.
Good luck.
TheMask wrote:
> I don´t understand what you just said. Please explain it again.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Had /home on a 120GB, bought a 250GB, put it in the machine, did:
dd if=/dev/sd[homedisk] of=/dev/sd[newdisk]
Used partitioner to enlarge /home partition on the newdisk, and mount it instead of the old one, done.
Is that what you meant? A ‘man dd’ will give you all the info you need.
missed some things. Indeed cp -r -p would do the job as well. It’s an old habit to use ‘dd’, it never failed on me. As it is an old habit to have /home on a separate disk.
Nope. I intendet to compress it as much as possible with soe tool/command that does not take me 500 years to do the job and uncompress it later after upgrading.