🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)

🔧 Programmierung 🕛 kürzlich 9 Min Lesezeit
0

Using Timeshift for System's Snapshots and Recovery on Debian 12 via Command Line

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. Timeshift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored at a later date to undo all changes to the system.(—I somewhat disagree with this classification.



The maintainers of Timeshift also make this distinction clear:




Timeshift is similar to applications like rsnapshot, BackInTime and TimeVault but with different goals. It is designed to protect only system files and settings. User files such as documents, pictures and music are excluded. This ensures that your files remain unchanged when you restore your system to an earlier date. ( on Reddit. And I proceed with timeshift installation, because I need exactly a snapshot tool, not a backup tool.






Timeshift GUI - a little drawback



Timeshift has a graphical user interface, which, for some, may be a strong advantage, while for others, it might be less appealing (I, for example, prefer terminal or command line interfaces).



The timeshift package depends on lib-gtk-3.0 (



I proceed with creation of new logical volume and mounting it to /timeshift directory:




CODE
# create logical volume with name timeshift in volume group wonderland-vg
lvcreate -L 20G -n timeshift wonderland-vg
#verify creation
lvdisplay
# create a filesystem (all my system is ext4, choose any you use
mkfs.ext4 /dev/wonderland-vg/timeshift
# create a parent directory for snapshots
mkdir /timeshift
# mount there newly created logical partition
mount /dev/wonderland-vg/timeshift /timeshift






You can configure automount of this logical volume on each boot by modifying /etc/fstab




CODE
#check how new logical volume is stored
ls /dev/mapper
#modify with editor of your choice
vim /etc/fstab
# by adding this entry:
/dev/mapper/wonderland--vg-timeshift /timeshift ext4 defaults 0 2
#check that modified mounting does not give any errors
systemctl daemon-reload
mount -a









Installing Timeshift



Installation of timeshift in Debian is quite straightforward: just run apt install timeshift.





Once selected, your device UUID will be automatically transferred to the config file and when you run next time timeshift --create you will not be asked to select device. If you want to change it, you will have to modify config file and change UUID of a storage. I think the GUI would give more comprehensive control over device selection.



If using Timeshift's GUI is not an option, you can schedule backups using cron jobs or changing false to true in configuration file for schedule_monthly, schedule_weekly, schedule_daily, schedule_hourly (NB! I did not test it!). I don't enable automatic snapshots because, as I mentioned, they’re not true backups, and I don’t need constant snapshotting. I’ll take snapshots manually when necessary (e.g., before major system updates or modifications).



If you're planning to set up automatic snapshots, you should also check the configuration file for the snapshot retention policy.





My system's kernel version before kernel upgrade from bookworm-backports repo:





I have 2 snapshots and I will be using the latest one.



)




My system's kernel version after restore:



Image description






Summarizing:



Timeshift's Pros:

🦄 Continuously maintained and widely-used snapshotting tool

🦄 Easy management via command line

🦄 Incremental snapshots

🦄 Clearly separates snapshots from backups

🦄 Has an active community

Timeshift's Cons:

🫏 No-GUI (CLI-only) installation is not possible

🫏 Brings many dependencies related to the Xorg display server, which may not be the best for server setups or systems with Wayland

🫏 Limited guides on CLI-only usage, even though it's possible

🫏 Storage destination is bound by UUID, which may be confusing

🫏 Limited identifiers in storage selection when creating the first snapshot, making it harder to choose the correct storage device

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
1 Quelle
Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
1 Quelle
Major AI platforms go down in unprecedented simultaneous outage
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Using Timeshift for System's Snapshots and Recovery on Debian 12 via Command Line

Thematisch verwandte Begriffe: Using, Timeshift, Systems, Snapshots · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...