freezer/freezer/engine
Shangzhong Zhu 888eb6bb00 Replace --unlink-first with --overwrite
The main reasons are listed as follow:
1. The tar can't write data into an not empty directory without
   --overwrite option.
2. When the tar is used to restore data to an not empty directory
   with --unlink-first option only, the tar will raise an error.
3. The --unlink-first and --overwrite option can't be simultaneously
   used by tar 1.29.
4. The --unlink-first removes files before extracting over them.
   This can make tar run a bit faster if you know in advance that the
   extracted files all need to be removed.Normally this option slows tar
   down slightly, so it is disabled by default.

Change-Id: I3cf232ed86472c60c3fe4fcc3d38acbfaf14f9f2
Closes-Bug: #1644467
Signed-off-by: Shangzhong Zhu <zhu.shangzhong@zte.com.cn>
2016-12-16 07:24:30 +00:00
..
tar Replace --unlink-first with --overwrite 2016-12-16 07:24:30 +00:00
__init__.py First iteration of multiple storages. 2015-09-16 14:30:48 +01:00
engine.py Print the backup name to log file 2016-12-01 13:45:55 +00:00
manager.py Refactoring Freezer Engines 2016-10-19 11:17:00 +00:00