OpenVZ Forum


Home » General » Support » OpenVZ Backup
OpenVZ Backup [message #51459] Sun, 15 June 2014 13:21 Go to next message
meganuke is currently offline  meganuke
Messages: 1
Registered: June 2014
Location: Moscow
Junior Member
Hello i read scripts on openvz.org/Ploop/Backup
Quote:

vzctl snapshot $CTID --id $ID --skip-suspend --skip-config

# Perform a backup using your favorite backup tool
# (cp is just an example)
cp $VE_PRIVATE/root.hdd/* $BACKUPPATH/

# Delete (merge) the snapshot
vzctl snapshot-delete $CTID --id $ID

Why merge run after cp? Also, i can copy only root.hdd, without snapshot if snapshot already merged and deleted?
Re: OpenVZ Backup [message #51478 is a reply to message #51459] Tue, 24 June 2014 16:56 Go to previous message
devonblzx is currently offline  devonblzx
Messages: 127
Registered: December 2006
Senior Member
You don't want to keep a snapshot running after the copy because it creates a large amount of overhead for the filesystem.

Merging it basically closes out the snapshot. You merge all the changes made while the snapshot was open.


http://static.openvz.org/userbars/openvz-user-2.png
ByteOnSite President
Previous Topic: How to create multiple venet interfaces on HN?
Next Topic: How to escape the no_loop_device flaw ?
Goto Forum:
  


Current Time: Fri Sep 06 08:20:35 GMT 2024

Total time taken to generate the page: 0.11704 seconds