| Both sides previous revisionPrevious revision | |
| jpc:backup_restore:index [2026/03/26 02:49] – mfranklin | jpc:backup_restore:index [2026/06/09 14:43] (current) – admin |
|---|
| ====== Backup and Restore ====== | ====== Backup and Restore ====== |
| |
| Backup and restore features are built into the panel PC's operating system and provided through the following utilities: | The jPC includes several Linux utilities that can be used to backup, restore, clone, and deploy systems. |
| |
| * [[https://manpages.debian.org/trixie/coreutils/dd.1.en.html|dd]] - For full disk image backups. Slow and inflexible, but will produce bit-for-bit clones of disks. | Depending on your requirements, you can create complete disk images, backup individual partitions, duplicate systems for production deployment, or expand storage capacity after migrating to a larger storage device. |
| * [[https://manpages.debian.org/trixie/fdisk/sfdisk.8.en.html|sfdisk]] - For partition table backups (i.e. dumps) and restores. | |
| * [[https://manpages.debian.org/trixie/fsarchiver/fsarchiver.8.en.html|fsarchiver]] - For partition file system backups and restores. Fast and efficient. | |
| * [[https://manpages.debian.org/trixie/parted/parted.8.en.html|parted]] - Used primarily for growing the last partition to utilize the storage device's full capacity. | |
| * [[https://manpages.debian.org/trixie/e2fsprogs/resize2fs.8.en.html|resize2fs]] - Used primarily to expand the last partition's file system to utilize the full partition's capacity. | |
| |
| Any or all of these utilities can be used from a terminal to backup, restore, clone, and/or provision your panel PC devices in whatever way suits your use case. | The following utilities are included with the operating system: |
| |
| | * [[https://manpages.debian.org/trixie/coreutils/dd.1.en.html|dd]] - Creates a complete disk image backup. It produces an exact bit-for-bit copy of the storage device, including the operating system, configuration, and user data. This method is highly reliable but can be slow and requires additional storage space. |
| | * [[https://manpages.debian.org/trixie/fdisk/sfdisk.8.en.html|sfdisk]] - Backs up and restores partition table information. Useful when duplicating storage layouts or recovering damaged partition tables. |
| | * [[https://manpages.debian.org/trixie/fsarchiver/fsarchiver.8.en.html|fsarchiver]] - Creates efficient file system backups and restores. Since only used files are archived, backups are significantly smaller and faster than full disk images. |
| | * [[https://manpages.debian.org/trixie/parted/parted.8.en.html|parted]] - Used to manage and resize partitions. Commonly used after cloning a system to a larger storage device. |
| | * [[https://manpages.debian.org/trixie/e2fsprogs/resize2fs.8.en.html|resize2fs]] - Expands an existing file system to utilize all available space within a partition. |
| |
| | These utilities can be used individually or together to support a wide range of deployment and maintenance scenarios, including: |
| | |
| | * Creating full system backups |
| | * Restoring a previously saved system image |
| | * Cloning devices for production deployment |
| | * Migrating to larger storage devices |
| | * Provisioning multiple panel PCs with identical software and settings |
| | |
| | All utilities can be executed directly from a terminal, giving system integrators and developers complete control over the backup and recovery process. |
| | |
| | [[..:index|JPC (Embedded Linux Panel PC)]] |