Skip to main content

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
2 votes
1 answer
1k views

Timeshift on Ubuntu 24.04 @ subvolume not present

I just did a fresh install of Ubuntu 24.04 LTS on BTRFS. Installed Timeshift and it did not work because the 24.04 system was installed on / without creating BTRFS subvolumes @ and @home. (Ubuntu 22....
Majal's user avatar
  • 8,007
0 votes
0 answers
10 views

Screen capture does not work if taking a snapshot of the settings panel WHEN the multiple option widget active

I was opening a bug report of the sound settings when I notice that I CANNOT take a snapshot of anything IF the setting windows is open and any of the multiple options widgets are open. For example,Go ...
user447951's user avatar
0 votes
1 answer
266 views

How to let ZFS users create their own datasets?

I am running Ubuntu 22.04 in a VM, and I have followed the instructions here for creating a ZFS pool. However, the commands to create, mount and unmount zfs datasets all appear to require root. I ...
Joseph Garvin's user avatar
0 votes
0 answers
39 views

How to virtualize snapshot clone fast ubuntu iso files to test if bugs are gone? What is lightest container app?

How to virtualize snapshot clone fast ubuntu iso files to test if bugs are gone? What is lightest container app? I want to fast load in ubuntu and windows an iso of ubuntu to test bugs. What is best ...
Kangarooo's user avatar
  • 5,085
0 votes
0 answers
40 views

How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone?

How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone? Snapshots or clones of system and then working in ...
Kangarooo's user avatar
  • 5,085
0 votes
0 answers
401 views

How to properly save and restore encrypted ZFS snapshots for a stock Ubuntu setup?

I installed Ubuntu using the encrypted ZFS option it gave me. I am new to ZFS and am trying to figure out a backup plan, and test it. In my case I want to back up the snapshot to my NAS. Another ...
timetofly's user avatar
  • 431
1 vote
1 answer
549 views

Snapshots backup problems Ubuntu 23.10

I tried to use Timeshift for a snapshot backup but when I installed it , it can not find my root partition as it is not in a shape like /@ and /@home. How to get that ? I am using Ubuntu 23.10. During ...
Marko's user avatar
  • 31
0 votes
2 answers
2k views

Timeshift GUI not showing snapshots

I use Ubuntu 22.04. I've been trying to create snapshots on my internal disk. Even though the snapshots are created, they are not shown in the GUI. I've tried formatting the disk and reinstalling ...
Esteban V's user avatar
0 votes
0 answers
53 views

restore server or snapshot tool for students practices

greetings, I am facing a scenario of educational practices, I want to put a server with ubuntu server 22.04 with a basic configuration, after groups of students start to install programs and make ...
calderonperaza's user avatar
1 vote
0 answers
106 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
192 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
1 vote
0 answers
673 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
1 vote
3 answers
2k 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
865 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
191 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
6k 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
1 vote
2 answers
107 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
100 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
3 votes
0 answers
605 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
521 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
150 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 ...
dcfg's user avatar
  • 113
-1 votes
1 answer
2k 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
157 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
82 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
  • 533
3 votes
1 answer
1k 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,215
5 votes
3 answers
3k 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
213 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
2 votes
1 answer
6k 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,145
0 votes
0 answers
31 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
470 views

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

Is 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
11k 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
228 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
576 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
2k 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
1 vote
1 answer
1k 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
2 votes
1 answer
601 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
7 votes
1 answer
11k 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
461 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
157 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
  • 111
1 vote
0 answers
574 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,414
2 votes
0 answers
315 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
3 votes
1 answer
2k 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,414
6 votes
2 answers
9k 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
6k 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
  • 714
0 votes
0 answers
64 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
173 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
224 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
149 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