From 7c8301032e4e5af5682000ea70c36926860aabb3 Mon Sep 17 00:00:00 2001 From: Christian Degen <62304519+zirkuswurstikus@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:50:48 +0200 Subject: [PATCH] apt-clone: add page (#13901) Co-authored-by: Wiktor Perskawiec Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/apt-clone.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/apt-clone.md diff --git a/pages/linux/apt-clone.md b/pages/linux/apt-clone.md new file mode 100644 index 0000000000..9e9fea9bb1 --- /dev/null +++ b/pages/linux/apt-clone.md @@ -0,0 +1,24 @@ +# apt-clone + +> Clone/backup/restore the package state of a Debian-based system. +> More information: . + +- Clone the package state of the current system into a specified directory: + +`apt-clone clone {{path/to/directory}}` + +- Create a clone file (`tar.gz`) for backup purposes: + +`apt-clone clone --destination {{path/to/backup.tar.gz}}` + +- Restore the package state from a clone file: + +`apt-clone restore {{path/to/backup.tar.gz}}` + +- Show information about a clone file (e.g., the release, architecture): + +`apt-clone info {{path/to/backup.tar.gz}}` + +- Check if the clone file can be restored on the current system: + +`apt-clone restore {{path/to/backup.tar.gz}} --destination {{path/to/restore}}`