Страница 1 из 1

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 17:49
Dja
Как?
Мана не нашел
dja-work ~ $ man timeshift
Нет справочной страницы для timeshift
Смотрите 'man 7 undocumented' в справке, если недоступны справочные страницы.
dja-work ~ $ man 7 undocumented
Нет справочной страницы для undocumented в разделе 7
dja-work ~ $ 
В справке по путям ничего не объясняется. :sad:
dja-work ~ $ timeshift --help

Timeshift v17.11 by Tony George (teejeetech@gmail.com)

Syntax:

  timeshift --check
  timeshift --create [OPTIONS]
  timeshift --restore [OPTIONS]
  timeshift --delete-[all] [OPTIONS]
  timeshift --list-{snapshots|devices} [OPTIONS]

Options:

List:
  --list[-snapshots]         List snapshots
  --list-devices             List devices

Backup:
  --check                    Create snapshot if scheduled
  --create                   Create snapshot (even if not scheduled)
  --comments <string>        Set snapshot description
  --tags {O,B,H,D,W,M}       Add tags to snapshot (default: O)

Restore:
  --restore                  Restore snapshot
  --clone                    Clone current system
  --snapshot <name>          Specify snapshot to restore
  --target[-device] <device> Specify target device
  --grub[-device] <device>   Specify device for installing GRUB2 bootloader
  --skip-grub                Skip GRUB2 reinstall

Delete:
  --delete                   Delete snapshot
  --delete-all               Delete all snapshots

Global:
  --snapshot-device <device> Specify backup device (default: config)
  --yes                      Answer YES to all confirmation prompts
  --btrfs                    Switch to BTRFS mode (default: config)
  --rsync                    Switch to RSYNC mode (default: config)
  --debug                    Show additional debug messages
  --verbose                  Show rsync output (default)
  --quiet                    Hide rsync output
  --scripted                 Run in non-interactive mode
  --help                     Show all options

Examples:

timeshift --list
timeshift --list --snapshot-device /dev/sda1
timeshift --create --comments "after update" --tags D
timeshift --restore 
timeshift --restore --snapshot '2014-10-12_16-29-08' --target /dev/sda1
timeshift --delete  --snapshot '2014-10-12_16-29-08'
timeshift --delete-all 

Notes:

  1) --create will always create a new snapshot
  2) --check will create a snapshot only if a scheduled snapshot is due
  3) Use --restore without other options to select options interactively
  4) UUID can be specified instead of device name
  5) Default values will be loaded from app config if options are not specified
Спрашивается как сделать бэкап удаленно?

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 17:58
x230
вопрос не понят: что значит "удаленно"? А как ты запускаешь другие проги удаленно?
К стати, привет, для начала!
Есть же гуй (запускается timeshift-launcher) и рулится как обычно или я чего-то недогнал?

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:06
vir0id
Dja писал(а):
25 окт 2018, 17:49
Как?
Мана не нашел
dja-work ~ $ man timeshift
Нет справочной страницы для timeshift
Смотрите 'man 7 undocumented' в справке, если недоступны справочные страницы.
dja-work ~ $ man 7 undocumented
Нет справочной страницы для undocumented в разделе 7
dja-work ~ $ 
В справке по путям ничего не объясняется. :sad:
dja-work ~ $ timeshift --help

Timeshift v17.11 by Tony George (teejeetech@gmail.com)

Syntax:

  timeshift --check
  timeshift --create [OPTIONS]
  timeshift --restore [OPTIONS]
  timeshift --delete-[all] [OPTIONS]
  timeshift --list-{snapshots|devices} [OPTIONS]

Options:

List:
  --list[-snapshots]         List snapshots
  --list-devices             List devices

Backup:
  --check                    Create snapshot if scheduled
  --create                   Create snapshot (even if not scheduled)
  --comments <string>        Set snapshot description
  --tags {O,B,H,D,W,M}       Add tags to snapshot (default: O)

Restore:
  --restore                  Restore snapshot
  --clone                    Clone current system
  --snapshot <name>          Specify snapshot to restore
  --target[-device] <device> Specify target device
  --grub[-device] <device>   Specify device for installing GRUB2 bootloader
  --skip-grub                Skip GRUB2 reinstall

Delete:
  --delete                   Delete snapshot
  --delete-all               Delete all snapshots

Global:
  --snapshot-device <device> Specify backup device (default: config)
  --yes                      Answer YES to all confirmation prompts
  --btrfs                    Switch to BTRFS mode (default: config)
  --rsync                    Switch to RSYNC mode (default: config)
  --debug                    Show additional debug messages
  --verbose                  Show rsync output (default)
  --quiet                    Hide rsync output
  --scripted                 Run in non-interactive mode
  --help                     Show all options

Examples:

timeshift --list
timeshift --list --snapshot-device /dev/sda1
timeshift --create --comments "after update" --tags D
timeshift --restore 
timeshift --restore --snapshot '2014-10-12_16-29-08' --target /dev/sda1
timeshift --delete  --snapshot '2014-10-12_16-29-08'
timeshift --delete-all 

Notes:

  1) --create will always create a new snapshot
  2) --check will create a snapshot only if a scheduled snapshot is due
  3) Use --restore without other options to select options interactively
  4) UUID can be specified instead of device name
  5) Default values will be loaded from app config if options are not specified
Спрашивается как сделать бэкап удаленно?
Ёмаё... хочешь классный кастыль(он сработает)? Перенаправь по ssh иксы клиента к себе. Зайди по ssh на удалённую машину и запусти там timeshift из консоле :hoho:

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:13
Dja
x230, другие не запускаются или по крону.
vir0id, т.е. без иксов, а соответственно и гуя никак? Консольно она не работает с ext4?

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:16
Dja
Всё. Поскольку с ext4 timeshift работает через rsync, то нам поможет rsnapshot :hoho:

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:17
vir0id
Dja писал(а):
25 окт 2018, 18:13
т.е. без иксов
Ну если иксы упали, то можно. А если вообще их из коробки нет, тогда timeshift --help - это типа help страница

Код: Выделить всё

Timeshift v18.4 by Tony George (teejeetech@gmail.com)

Syntax:

  timeshift --check
  timeshift --create [OPTIONS]
  timeshift --restore [OPTIONS]
  timeshift --delete-[all] [OPTIONS]
  timeshift --list-{snapshots|devices} [OPTIONS]

Options:

List:
  --list[-snapshots]         List snapshots
  --list-devices             List devices

Backup:
  --check                    Create snapshot if scheduled
  --create                   Create snapshot (even if not scheduled)
  --comments <string>        Set snapshot description
  --tags {O,B,H,D,W,M}       Add tags to snapshot (default: O)

Restore:
  --restore                  Restore snapshot
  --clone                    Clone current system
  --snapshot <name>          Specify snapshot to restore
  --target[-device] <device> Specify target device
  --grub[-device] <device>   Specify device for installing GRUB2 bootloader
  --skip-grub                Skip GRUB2 reinstall

Delete:
  --delete                   Delete snapshot
  --delete-all               Delete all snapshots

Global:
  --snapshot-device <device> Specify backup device (default: config)
  --yes                      Answer YES to all confirmation prompts
  --btrfs                    Switch to BTRFS mode (default: config)
  --rsync                    Switch to RSYNC mode (default: config)
  --debug                    Show additional debug messages
  --verbose                  Show rsync output (default)
  --quiet                    Hide rsync output
  --scripted                 Run in non-interactive mode
  --help                     Show all options

Examples:

timeshift --list
timeshift --list --snapshot-device /dev/sda1
timeshift --create --comments "after update" --tags D
timeshift --restore 
timeshift --restore --snapshot '2014-10-12_16-29-08' --target /dev/sda1
timeshift --delete  --snapshot '2014-10-12_16-29-08'
timeshift --delete-all 

Notes:

  1) --create will always create a new snapshot
  2) --check will create a snapshot only if a scheduled snapshot is due
  3) Use --restore without other options to select options interactively
  4) UUID can be specified instead of device name
  5) Default values will be loaded from app config if options are not specified

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:24
vir0id
Dja писал(а):
25 окт 2018, 17:49
В справке по путям ничего не объясняется.
Ой... только сейчас это увидел. Ну как это нету? По какому пути у тебя слепок лежит?

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:26
Dja
vir0id, скорее вопрос не по какому лежит, а по какому мне его выложить и как :-D

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:27
vir0id
Dja писал(а):
25 окт 2018, 18:26
а по какому мне его выложить и как
Что-то я не понял.... Так тебе нужно сделать слепок или восстановить? :blink2:

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:29
Dja
vir0id, Сделать. И я уже понял, что rsnapshot должен помочь :-D

timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:33
vir0id
Dja писал(а):
25 окт 2018, 18:29
Сделать. И я уже понял, что rsnapshot должен помочь
Блин... что ты заморачиваешься Дя?

Код: Выделить всё

[vir0id]
17:31:43
~ $ sudo timeshift --list --snapshot-device /dev/sda1
[sudo] пароль для vir0id: 
First run mode (config file not found)
Selected default snapshot type: RSYNC
Device : /dev/sda1
UUID   : F24C-5568
Path   : /boot/efi
Mode   : RSYNC
No snapshots on this device
First snapshot requires: 0 B

No snapshots found
[vir0id]
17:32:32
~ $ sudo timeshift --create
First run mode (config file not found)
Selected default snapshot type: RSYNC
Selected default snapshot device: /dev/sda3
------------------------------------------------------------------------------
Estimating system size...
Creating new snapshot...(RSYNC)
Saving to device: /dev/sda3, mounted at path: /
Synching files with rsync...


timeshift + ext4 - gui

Добавлено: 25 окт 2018, 18:40
Dja
:close: