Timeshift - палочка-выручалочка

Установка, обновление, настройка Linux и программ

Модераторы: Olej, adminn

Аватара пользователя
Olej
Писатель
Сообщения: 13935
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: Timeshift - палочка-выручалочка

Непрочитанное сообщение Olej » 30 янв 2020, 01:44

Olej писал(а):
30 янв 2020, 00:40
И в итоге...
И, наконец, (после типового update/upgrade!), с того же удалённого SSH соединения:

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

root@nvidia:~# time timeshift --create --comments "restore 29.01" --tags B
[Warning] Deleted invalid lock
------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sdb2, mounted at path: /mnt/sdb2
Linking from snapshot: 2020-01-29_20-00-01
Synching files with rsync...
Created control file: /mnt/sdb2/timeshift/snapshots/2020-01-30_00-38-19/info.json
RSYNC Snapshot saved successfully (214s)
Tagged snapshot '2020-01-30_00-38-19': ondemand
------------------------------------------------------------------------------
Removed: /var/log/timeshift/2018-12-22_06-00-02_backup.log
Removed: /var/log/timeshift/2018-12-22_07-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_08-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_09-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_10-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_11-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_12-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_13-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_14-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_15-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_18-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_19-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_20-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_21-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_22-00-01_backup.log
Removed: /var/log/timeshift/2018-12-22_23-00-01_backup.log
Removed: /var/log/timeshift/2018-12-23_00-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_15-00-03_backup.log
Removed: /var/log/timeshift/2019-01-12_16-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_17-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_18-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_19-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_20-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_21-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_22-00-01_backup.log
Removed: /var/log/timeshift/2019-01-12_23-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_00-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_01-00-02_backup.log
Removed: /var/log/timeshift/2019-01-13_16-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_17-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_18-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_19-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_20-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_21-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_22-00-01_backup.log
Removed: /var/log/timeshift/2019-01-13_23-00-01_backup.log
Removed: /var/log/timeshift/2019-01-14_00-00-01_backup.log
Removed: /var/log/timeshift/2019-01-14_16-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_11-00-02_backup.log
Removed: /var/log/timeshift/2019-02-05_12-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_13-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_14-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_15-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_16-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_17-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_18-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_19-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_20-00-03_backup.log
Removed: /var/log/timeshift/2019-02-05_21-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_22-00-01_backup.log
Removed: /var/log/timeshift/2019-02-05_23-00-02_backup.log
Removed: /var/log/timeshift/2019-02-06_00-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_12-00-02_backup.log
Removed: /var/log/timeshift/2019-02-07_13-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_14-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_15-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_16-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_17-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_18-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_19-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_20-00-01_backup.log
Removed: /var/log/timeshift/2019-02-07_21-45-26_.log
Removed: /var/log/timeshift/2019-02-07_21-45-41_.log
Removed: /var/log/timeshift/2019-02-07_21-46-15_restore.log
Removed: /var/log/timeshift/2019-02-07_21-48-15_restore.log
Removed: /var/log/timeshift/2019-02-07_22-00-02_backup.log
Removed: /var/log/timeshift/2019-02-07_23-00-02_backup.log
Removed: /var/log/timeshift/2019-02-08_00-00-02_backup.log
Removed: /var/log/timeshift/2019-02-08_00-01-20_gui.log
Removed: /var/log/timeshift/2019-02-10_18-00-01_backup.log
Removed: /var/log/timeshift/2019-02-10_19-00-02_backup.log
Removed: /var/log/timeshift/2019-02-10_20-00-01_backup.log
Removed: /var/log/timeshift/2019-02-10_21-00-01_backup.log
Removed: /var/log/timeshift/2019-02-10_22-00-01_backup.log
Removed: /var/log/timeshift/2019-02-10_23-00-01_backup.log
Removed: /var/log/timeshift/2019-02-11_00-00-01_backup.log
Removed: /var/log/timeshift/2019-02-11_01-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_13-00-02_backup.log
Removed: /var/log/timeshift/2019-03-05_14-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_15-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_16-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_17-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_18-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_19-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_20-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_21-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_22-00-01_backup.log
Removed: /var/log/timeshift/2019-03-05_23-00-02_backup.log
Removed: /var/log/timeshift/2019-03-06_00-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_11-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_12-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_13-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_14-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_15-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_16-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_17-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_18-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_19-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_20-00-01_backup.log
Removed: /var/log/timeshift/2019-03-06_21-00-01_backup.log
Older log files removed

real	3m34,831s
user	0m6,428s
sys	0m2,058s
3.5 минуты делов:

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

root@nvidia:~# timeshift --list
Device : /dev/sdb2
UUID   : 70a27ef1-d2c3-4017-975b-645e184be739
Path   : /mnt/sdb2
Mode   : RSYNC
Device is OK
5 snapshots, 22.2 GB free

Num     Name                 Tags  Description    
------------------------------------------------------------------------------
0    >  2019-08-18_16-13-27  O                    
1    >  2019-10-09_16-23-35  B     after restore  
2    >  2019-12-02_20-00-01  M                    
3    >  2020-01-29_20-00-01  W                    
4    >  2020-01-30_00-38-19  B     restore 29.01  

Аватара пользователя
Olej
Писатель
Сообщения: 13935
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: Timeshift - палочка-выручалочка

Непрочитанное сообщение Olej » 19 авг 2020, 16:10

Сегодня, перед массовым обновление Fedora 32 (давно не обновлял):

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

[olej@xenix ~]$ sudo timeshift --create --comments "before update 32" --tags B
Another instance of this application is running (PID=6371)
Это что-то из создания снапшотов в фоне ... нужно будет выяснить кто это!

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

[olej@xenix ~]$ sudo kill 6371
Убили...

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

[olej@xenix ~]$ sudo timeshift --create --comments "before update 32" --tags B
[Warning] Deleted invalid lock

/dev/sda1 is mounted at: /run/timeshift/backup, options: rw,relatime

------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sda1, mounted at path: /run/timeshift/backup
Linking from snapshot: 2020-07-16_12-00-02
Synching files with rsync...
Created control file: /run/timeshift/backup/timeshift/snapshots/2020-08-19_16-01-51/info.json
RSYNC Snapshot saved successfully (159s)
Tagged snapshot '2020-08-19_16-01-51': ondemand
------------------------------------------------------------------------------

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

[olej@xenix ~]$ sudo timeshift --list

/dev/sda1 is mounted at: /run/timeshift/backup, options: rw,relatime

Device : /dev/sda1
UUID   : 6aac5853-9c97-4cb4-b110-3d46fca0a710
Path   : /run/timeshift/backup
Mode   : RSYNC
Status : OK
7 snapshots, 198.2 GB free

Num     Name                 Tags  Description       
------------------------------------------------------------------------------
0    >  2020-02-20_16-00-01  W                       
1    >  2020-07-14_21-30-00  O                       
2    >  2020-07-15_18-16-18  O                       
3    >  2020-07-15_21-35-46  O                       
4    >  2020-07-16_00-58-57  O                       
5    >  2020-07-16_12-00-02  M                       
6    >  2020-08-19_16-01-51  B     before update 32  

Ответить

Вернуться в «Администрирование Linux»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 1 гость