hello
want to do a recursive copy of my home drive to a external drive - in order to make a backup
and i want to use pv - to have an overview on the progress.
why does this fail
pv -p -e -r -b r martin/* > /run/media/martin/HDDRIVE2GO/medion/medion2017/
this command fails -
questions :
do i use too much parameter within the above mentioned pv-command?
besides this: how would i write this command with rsync
would i have an overview - in rsync too:
there is such an option: showing-total-progress-in-rsync-is-it-possible
#> ./rsync -a --info=progress2 /usr .
305,002,533 80% 65.69MB/s 0:00:01 xfr#1653, ir-chk=1593/3594)
Love to hear from you
Not sure of everything the pv command does but I use the equivalent of this:
rsync -av --delete /home/ /run/media/martin/HDDRIVE2GO/medion/medion2017/
Add z if you want it compressed.
hello dear John
many thanks for the answer.
Looks great - i will try it out tomorrow
(note: i do not have the external drive here - with me - will test it tomorrow)
again - many thanks
have a great day.
What format is the target drive?? if a MS format ownership and permission are not preserved. You need to back to a Linux formatted partition or use TAR which preserves the permission bits. If you back to a Linux file system you can use cp or rsync. rsync is great because it only copies changed files so after the first backup the following go much faster. I backup to a ext2 formatted USB using luckybackup which is a nice GUI front end to rsync.
hello dear gogalthorp
many many thanks. The target-drive is ms-format.
i think that i will reformate this - and do a Linuxformat… - ext2 or so…
You can use pv only on a single file. F.e.
pv /dev/sdX | dd of=/dev/sdY#/sdX.iso
If you want the verbose output of rsync + the progress per file, use the -P (capital p) option.
hello dear knurpth
many thanks
Knurpht:
You can use pv only on a single file. F.e.
pv /dev/sdX | dd of=/dev/sdY#/sdX.iso
If you want the verbose output of rsync + the progress per file, use the -P (capital p) option.
will try it out tonight.
btw:
openSUSE Tumbleweed+Leap / is this different to
openSUSE Tumbleweed+ OpenSuse 13.2