As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [snapshot]

Snapshots allow users to create images of a specified filesystem. Use this tag if you have problems or questions about creating Snapshots in Ubuntu.

Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

Ive accidentally clicked restore current snapshot, can I cancel this?

I have accidentally clicked 'restore current snapshot' 'ok' instead of closing my last ubuntu session. I closed it immediateley without letting it load and have not opened the VM again but can see its ...
cloudingAround's user avatar
3 votes
2 answers
137 views

I'm installing Ubuntu on ten computers in a public space. Are there programs I can use that are similar to Reboot Restore RX (on Windows)?

I'm looking for a program that whenever I restart my computer, it will reset back to a restore point that I can select. Is there a program that does this?
John MacPherson's user avatar
0 votes
0 answers
15 views

Trouble booting read only btrfs snap shots

I've set up my system with btrfs subvolumes. I've got btrfs assistant, snapper and grub-btrfs installed and working. However my problem is when I try to boot from a past snapshot I fail to load gdm3....
Tom A.'s user avatar
  • 7
0 votes
0 answers
56 views

btrfs snapper layout configuration or installation

I've installed 23.04 with btrfs and I have now 2 subvolume: @ @home May I install snapper now or should I create more subvolume? and eventualy how? is there and howto? Kindly Regards
robertocannito's user avatar
0 votes
0 answers
86 views

Timeshift does not keep the snapshots

I have trouble to keep my snapshots created by Timeshift. I want to keep my snapshots in case I break the OS and I need to restore it. I am running Ubuntu since almost 3 months already and I don't ...
Juan Rosello's user avatar
0 votes
1 answer
48 views

Create a Live-USB of existing installed Ubuntu

MX-Linux has a tool named MX-snapshot, which has the feature to create a live-iso of the existing system. Though that tool is open-source, it cannot be used on Ubuntu since Ubuntu is not an Antix-...
lone wolf's user avatar
2 votes
0 answers
198 views

TimeShift not storing snapshots and not using the correct drive

I use Ubuntu 22.04.2 LTS Yesterday I installed TimeShift to create a backup of my system. Once installed, I clicked the 'create' button, the process finished, but the supposedly created copy does not ...
Foo127's user avatar
  • 21
1 vote
0 answers
36 views

Timeshift doesn't start

after I did backup my system with timeshift, but when I run timeshift-launcher in terminal it's not launching, and logs file is [19:44:13] Session log file: /var/log/timeshift/2023-03-29_19-44-13_gui....
TOOFACK's user avatar
  • 11
0 votes
1 answer
611 views

how to restore btrfs snapshot backup of root partition with subvolume for home

I have btrfs over luks over lvm on a physical ssd drive. I've done some crap with apt and break my system. I want to reverse it to previous state. When i boot on a live usb and decipher my luks drive ...
1000i100's user avatar
  • 101
0 votes
0 answers
224 views

Ubuntu 22.04. How to get all btrfs snapshots to appear in grub menu snapshot list?

Newbie here. I got a tech support person to install Ubuntu 22.04 in VBox with Btrfs on my root and home directories. He also installed timeshift-autosnap-apt and grub-btrfs and they’re working. So the ...
Advait's user avatar
  • 415
1 vote
2 answers
43 views

How can I put more time or even see the time set on "snap set system snapshots.automatic.retention="?

I am fighting vs snapshots. In https://snapcraft.io/docs/snapshots says that by default the time of the autosaves is 31 days, I want to set it to forever, but it just let me put values of hours, not ...
Pixie's user avatar
  • 21
3 votes
1 answer
72 views

LVM merge destroyed hard drive

I tried to upgrade from Kubuntu 22.04 to 22.10, and borked it. Accidentally pressed Ctrl-C with the terminal window active. I think I was able to fix everything, but didn't want to chance it. I had an ...
Kenneth Hanson's user avatar
2 votes
0 answers
231 views

zfs-auto-snapshot settings are ignored

I am not sure what I did wrong that my settings are getting ignored. I installed the package with everything else and created my pool and datasets: sudo apt-get install zfsutils-linux zfs-auto-...
CptDayDreamer's user avatar
0 votes
1 answer
268 views

Can't find Timeshift snapshots to delete

Timeshift failed creating a snapshot. But the 140gb of space it took have not been returned. I've looked in the timeshift folder and the snapshots are empty. Inside the program it also says there are ...
Exquisite Mong's user avatar
0 votes
2 answers
67 views

restore snapshot from VirtualBox to a real machine

I'm running a Virtual Box vm featuring Ubuntu 20.04. My host os is Ubuntu 22.04. I'd like to move the guest os on a dual boot partition on my machine, possibly without losing any data about its ...
dc_Bita98's user avatar
  • 113
-1 votes
1 answer
660 views

how do i find the total size of BTRFS snapshots

I have a btrfs volume /shares that is snapshotted daily into /.snapshot folder. I need to find out the real disk use of my /.snapshot folder. Currently it seems misleading becasue it lists each ...
Clint's user avatar
  • 186
0 votes
0 answers
64 views

Unable to tear down cgroup access when try to create a snapshot of a KVM virtual machine

I want to create a snapshot of a VM on KVM using command: virsh snapshot-create-as --domain vms1 --name vms1.snapshot --diskspec sda,file=/data/snapshots/vms1_disk.0.snap.qcow2 --disk-only --atomic ...
user9949448's user avatar
0 votes
0 answers
58 views

How to backp ZFS BIOS, and UEFI, partitions?

I have a working Ubuntu 22.04 installation on a RAIDed encrypted ZFS file system. The procedure I followed can be downloaded from: https://www.mediafire.com/file/2w8mdb96tbzslub/Ubuntu_22....
Stephen's user avatar
  • 435
2 votes
1 answer
498 views

How do I copy zfs partitions from one disk to a smaller disk?

I'm trying to shrink a zfs partition. I've read that you can't do this directly. The only way is to mirror the partition to a temporary disk first, delete and then re-create new, smaller partitions in ...
Chelmite's user avatar
  • 1,133
4 votes
2 answers
2k views

Automatic pruning of old ZFS snapshots

So I selected ZFS when installing Ubuntu 22.04 because I wanted to try it out. I love the snapshot feature, however I found that due to daily apt-upgrade it accumulates a lot of snapshots consuming a ...
Hyperplane's user avatar
0 votes
1 answer
127 views

Trash Folders In ZFS Snapshots Recognized As Official Trash

When I run gvfs-ls trash:// or go to Trash in nautilus, I see the trash from my ZFS snapshots. This should not be happening. I'm sure this is impacting performance issues I have been seeing lately. ...
Timothy C. Quinn's user avatar
0 votes
1 answer
3k views

How to clean up (remove) all old system ZFS snapshots?

Every time I install or update software, a snapshot is being created in the zfs rpool, and occasionally in the bpool. After I confirm that I am still able to boot and everything is working, I wanted ...
Michael's user avatar
  • 1,045
0 votes
0 answers
27 views

Which top directories in Ubuntu do frequently change?

I'm using Kubuntu-20.04, and LVM2 partition. Before installing some software, I'm afraid that the new soft get mess my system, so I often take a snapshot of the root volume. But the root volume ...
Leon's user avatar
  • 107
2 votes
1 answer
255 views

I there any pre and post snapshot hooks for apt in ubuntu for btrfs snapper, like in arch, fedora and opensuse?

I there any pre and post snapshot hooks for apt in ubuntu for btrfs snapper, like in arch, fedora and opensuse?
Austin Rojers's user avatar
1 vote
2 answers
7k views

How to delete ZFS snapshots in bulk and upgrading to non LTS version?

Two question..... I have installed Ubuntu LTS 20.04.3 with ZFS and encryption, few hours ago, but don't know how to delete snapshots as they are piling up pretty quickly, I'm setting up my ...
Sajid Mahmood's user avatar
1 vote
1 answer
174 views

timeshift path is set to /tmp/.. instead of /timeshift/

after I restored my ubuntu using timeshift, I noticed that the gui does not show any of my snapshots. It seems that timeshift is somehow linked to /tmp folder instead of /timeshift. Is there any way ...
Mani's user avatar
  • 11
0 votes
0 answers
429 views

20.04 Add grub-entry to boot a btrfs snapshot

I have install btrfs on my 20.04 system and I created a snapshot named @-2021-04-10 of the root subvolumne named @. Now a want to add a grub menu entry to boot this snapshot. How can I add such a boot ...
r371769's user avatar
0 votes
1 answer
1k views

Backup system and restore onto new machine

Hosted Virtual Computer Streaming via NoMachine OS: Ubuntu MATE 20.10 x86_64 Kernel: 5.8.0-44-generic Packages: 2576 (dpkg), 9 (snap) Shell: bash 5.0.17 DE: MATE Theme: Ambiant-MATE-Dark [GTK2/3] ...
Powermongur's user avatar
0 votes
1 answer
763 views

Copying TimeShift bkp from HDD to HDD maxed my OS SSD to 0 bytes free and bricked it. Need a fail-safe way to copy without compromising the OS SSD

The factors involved: OS: Ubuntu 20.04.1 LTS running on an SSD /sdb2 119GB with 72GB of free space File to transfer: 44.8GB TimeShift protected and locked snapshot Source of folder: 4TB internal HDD ...
innerspaceboy's user avatar
0 votes
2 answers
2k views

Ubuntu 20.04 zfs grub rollback snapshots

I'm interested in teh ZFS snapshot feature, So I deployed 20.04 VM with ZFS. I created a snapshot to test how the rollback procedure works. sudo snapshot -r rpool@SNAP1 When then I created and ...
Catalyph's user avatar
0 votes
1 answer
390 views

Prune BTRFS incremental snapshots

I'm pretty new to BTRFS. I managed to do a readonly snapshot of my system and send/receive it to an external drive (snapshotting it again as rw so I can even boot it): so far so good. I know that, in ...
user3534974's user avatar
5 votes
1 answer
8k views

Is it safe to delete /var/lib/snapd/snapshots?

I had to reinstall Spotify because of an issue, which is now resolved but something else came up. I was notified that my root partition was filling up and I realised that in /var/lib/snapd/snapshots, ...
Jasper Nygaard's user avatar
1 vote
0 answers
394 views

Zsys autosnapshots in Ubuntu 20.04.1 LTS

I have installed Ubuntu 20.04.1 LTS using the "advanced" ZFS installer. It appears that the 20 minute snooze between Zsys autosnapshots in 20.04 LTS has been eliminated. This means that ...
Ted's user avatar
  • 11
0 votes
0 answers
112 views

how to create ubuntu distro from virtual box snapshot and install it as 2nd OS?

i have ubuntu running in vbox in win10. I did some actions -installed software and made snapshot. Now is it possible to make a distro with all that saved work from the snapshot? snapshot->iso use ...
ERJAN's user avatar
  • 101
1 vote
0 answers
322 views

How to rollback a btrfs snapshot for root [ / ] after failed system update

I tried updating from 18.04 to 20.04 but something went wrong and the installer told me that my system could have ended up unusable. I think I know the cause (a bunch of third party repos). ...
eridani's user avatar
  • 1,152
2 votes
0 answers
221 views

LVM snapshot merge is slow and somethims gets stuck

I am having some issues related to lvm snapshot merge. When running lvconvert --merge <snasphot> on ubuntu 14.04.6 (kernel 3.19.0-80-generic) everything worked fine. Lvm version is: LVM ...
is145's user avatar
  • 21
1 vote
1 answer
1k views

Do parent file system snapshot reference it's children datasets data or only their onw data?

Data is referenced in as many snapshots you take and it will be deleted from disk only if you delete all snapshots that referenced said data as well as the data from the running volume, this holds ...
eridani's user avatar
  • 1,152
6 votes
2 answers
8k views

Ubuntu 20.04 thinks it's out of free space, but it isn't

I started to get "not enough free space" errors when trying to copy files, and at some point I had trouble booting and did a ZFS rollback. I still get space errors despite (according to df and du ...
Thomas's user avatar
  • 61
6 votes
4 answers
5k views

How can I automatically create a Btrfs Snapshot before updating my system?

I've installed Ubuntu 20.04 on a Btrfs root-partition for its snapshot functionality. To keep it as simple as possible, I would like to integrate the creation of a Btrfs snapshot into my upgrade-...
Prototype700's user avatar
2 votes
1 answer
1k views

ubuntu 20.04 can " zfs-auto-snapshot" v.s. zsys

The package zfs-auto-snapshot is not installed by default. zsys is a minimally documented/incomplete snapshot management, which is the default. In particular it is unclear how and when snapshots are ...
user63726's user avatar
  • 704
0 votes
0 answers
59 views

Create backup of filesystem

I have LVM set up on my machine with one 8G (gigabytes) swap LV (logical volume) and a ~250G ext4 LV that is the root filesystem. I have installed and heavily configured some software, in the end only ...
selamba's user avatar
  • 111
0 votes
0 answers
88 views

Snapshot a directory

I have an Ubuntu 18.04 (upgrading to 20.04 when released) laptop with a nice MicroSD slot. I'd like to setup a process to have snapshots of a particular home directory, let's say ~/code, to be done ...
ilya1725's user avatar
  • 139
1 vote
0 answers
196 views

Is it a BTRFS Bug, a BTRBK bug or is my HDD dying?

I'm using a BTRFS setup in my home server, where I'm having 3 disks in a btrfs-raid and a fourth disk is used to receive daily backup snapshots via BTRBK. Some days ago I noticed, that BTRBK was ...
sandman85's user avatar
0 votes
0 answers
127 views

"no dataset available", when running script

I'm new to zfs and I started making a script to build on to eventually (hopefully) become an automatic backup script for my server. But when I try to run my script, it echoes "no datasets available". ...
Urfred's user avatar
  • 1
1 vote
1 answer
562 views

Full ZFS Snapshot on Ubuntu 19.10

I have my default ZFS installation from a clean install of Ubuntu 19.10 and I want a full snapshot of the entire system. NAME USED AVAIL REFER ...
Neal Bozeman's user avatar
0 votes
0 answers
661 views

How make snapshot of dedicated server?

What software or utility can help make a snapshot of a production Ubuntu system with all utilities and parameters? I would like to be able to simply restore this image with all data and statements, ...
Alex Macedonsky's user avatar
15 votes
3 answers
47k views

What's the difference between Rsync & BTRFS Snapshots

Context: I was thinking about making snapshot for safety reasons, so I downloaded Timeshift but once installed, I have to make a choice between Rsync and BTRFS Snapshots I already read the ...
Ced's user avatar
  • 783
2 votes
1 answer
2k views

Continues free snapshot backup manager for ubuntu?

Is there a easy-to-use full-system snapshot manager for ubuntu? Use-case: After a complete system breakdown (e.g. rm -rf /bin) the ability to restore the previous system state. I tried to use rsync, ...
DsCpp's user avatar
  • 143
0 votes
1 answer
2k views

Automatically recover previous state after reboot

I need to install Ubuntu on a system and also need that that system automatically recovers to a default state previously configured. Can you recommend a software that can do that? I can use a live ...
eera5607's user avatar
  • 367
1 vote
1 answer
588 views

LXD ZFS snapshot creation slows down as number of snapshots increases

Ubuntu 18.04 LTS - LXD Ubuntu launch using loopback ZFS (about 400MB) # lxc launch ubuntu:16.04 test -s ianzfspool (I have one other idle multi-GB container using the same ianzfspool.) I have lots ...
Ian D. Allen's user avatar