You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mksquashfs # Утилита сжатия.
pacman -S squashfs-tools arch-install-scripts Смотрим разделы диска.
lsblk Монтируем для чтения root,boot(home) и создаем образ, сжатие xz.
mount /dev/sda5 -o ro /mnt mount /dev/sda2 -o ro /mnt/boot mount /dev/sda7 -o ro /mnt/home Архивируем.
mksquashfs /mnt ~/backup/myarch.sfs -comp xz Исключение: -e /dir/file.
Отмонтируем по завершению.
umount -R /mnt Восстановление # Из рабочей системы, или Live-usb. Форматируем и монтируем поврежденный или новый раздел, boot по необходимости и др.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Резервное копирование Squashfs | Ctlos Linux
Mksquashfs # Утилита сжатия.
pacman -S squashfs-tools arch-install-scripts Смотрим разделы диска.
lsblk Монтируем для чтения root,boot(home) и создаем образ, сжатие xz.
mount /dev/sda5 -o ro /mnt mount /dev/sda2 -o ro /mnt/boot mount /dev/sda7 -o ro /mnt/home Архивируем.
mksquashfs /mnt ~/backup/myarch.sfs -comp xz Исключение: -e /dir/file.
Отмонтируем по завершению.
umount -R /mnt Восстановление # Из рабочей системы, или Live-usb. Форматируем и монтируем поврежденный или новый раздел, boot по необходимости и др.
https://ctlos.github.io/wiki/backup/squashfs/
Beta Was this translation helpful? Give feedback.
All reactions