OpenVZ Forum


Home » General » Discussions » concern: ezvzdump missing --numeric-ids rsync option? (concern: ezvzdump missing --numeric-ids rsync option?)
concern: ezvzdump missing --numeric-ids rsync option? [message #44932] Fri, 13 January 2012 11:04
pcxtra is currently offline  pcxtra
Messages: 3
Registered: January 2012
Location: Netherlands
Junior Member
I'm reading the ezvzdump document which contains the ezvzdump script. The document name is: Backup_a_running_container_over_the_network_with_ezvzdump


When analysing I noticed that it's missing the rsync option --numeric-ids to remain the ID's when syncing. It's especially important for the remote rsync line:

${RSYNC} ${LOCAL_DIR}${VEID}/ ${REMOTE_HOST}:${REMOTE_DIR}${VEID}/


Other rsync lines are local rsync commands. Also the tar is nicely using --numeric-owner. This again alerted me that rsync should also use --numeric-ids option to remain the user/group ID's and not translate to destination host names.

I didn't test it and it's theoretical.

So I'm not sure and please when reading, do not yet implement in production as it's just a concern and might be an invalid one.
Previous Topic: Sniffing from VM
Next Topic: OpenVZ don't remove folder vzctl-rm-me.*
Goto Forum:
  


Current Time: Tue Mar 19 06:15:55 GMT 2024

Total time taken to generate the page: 0.02394 seconds