You are not logged in.
if it so, why this important thing not mentioned in the rsync manual at first place?
That I do not know. I have moved/archived/copied installs this way for several years now. When using only devuan to copy or rsync an install this was never an issue, so I never used the "--numeric-ids" in my rsync command. However, once I used a different operating system, this became an issue. So I tried it on the recommendation in the Void forums, and it worked. I used devuan to rsync a different linux OS, and "--numeric-ids" worked.
It is mentioned in the rsync man file:
man rsync
--numeric-ids don't map uid/gid values by user/group name
Offline
It won't matter if on both systems the users have the same numeric UID and GID. But it will make a difference if the users have different UIDs or GIDs. Check /etc/passwd on both systems to see what is likely to happen.
Eg if chris has UID 1000 on the source system and UID 1001 on the target you don't want to use --numeric-ids.
But if the names differ but have the same UID (eg chris is UID 1000 on source and fred is UID 1000 on the target (chris doesn't exist on it)) --numeric-ids would leave everything owned by fred.
I hope that's enough to let you understand what difference it would make.
Offline
To deepforest: look at the link about dd's man page or say in terminal:
man dd
. The most essential parameters are "if=/dev/source" and "of=/dev/target".
Although, if you're not familiar with dd, i strongly recommend experimenting inside a vm first before using "dd" in bare metal.
Dd'ing to smaller partition will result in a damaged target partition and some complaints from dd when target runs out of space. So, not recommended.
Offline
clonezilla is free
https://en.wikipedia.org/wiki/Clonezilla
shit too
try it
its so slooow working
its searching all my partitions about 10-15 min
i start clonzilla iso to ram from easy2boot flash
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
https://github.com/stevenshiau/clonezilla/issues/116
https://github.com/stevenshiau/clonezilla/issues/115
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
@chris2be8
It won't matter if on both systems the users have the same numeric UID and GID. But it will make a difference if the users have different UIDs or GIDs. Check /etc/passwd on both systems to see what is likely to happen.
Eg if chris has UID 1000 on the source system and UID 1001 on the target you don't want to use --numeric-ids.
But if the names differ but have the same UID (eg chris is UID 1000 on source and fred is UID 1000 on the target (chris doesn't exist on it)) --numeric-ids would leave everything owned by fred.I hope that's enough to let you understand what difference it would make.
and what happens if i use --numeric-ids, but with same user names?
at cloned disk, at /etc/group, /etc/passwd my user have 1000:1001 is it correct?
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
If the ID has the same name, UID and GID then --numeric-ids won't make any difference.
Try an experiment copying a small directory with various options and see how it works.
Offline
regarding post number 8 in this thread.
i can no longer recommend PartedMagic after discovering multiple reports of very poor customer service.
see these links for just a few such instances:
https://www.reddit.com/r/sysadmin/comments/8k61r6/partedmagic_anyone_else_still_using_it_any/
https://www.trustpilot.com/review/partedmagic.com
edited: added more content
Last edited by stargate-sg1-cheyenne-mtn (2024-10-11 20:18:37)
Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!
Online