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
2 answers
79 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 ...
user avatar
0 votes
1 answer
25 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. ...
user avatar
0 votes
1 answer
202 views

How to clean up (remove) all old system 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 ...
user avatar
  • 1,004
0 votes
0 answers
47 views

lvremove snapshot met "Logical volume *** in use"

I taked a lvm2 snapshot of my root lv a few month ago, now when I remove it with lvremove, but I get "Logical volume svg/0902_extended in use". I never mounted it, and I now confirmed it ...
user avatar
  • 107
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 ...
user avatar
  • 107
2 votes
1 answer
106 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?
user avatar
0 votes
2 answers
2k 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 ...
user avatar
1 vote
1 answer
124 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 ...
user avatar
  • 11
0 votes
0 answers
294 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 ...
user avatar
0 votes
1 answer
511 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] ...
user avatar
0 votes
1 answer
463 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 ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
200 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 ...
user avatar
1 vote
1 answer
4k 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, ...
user avatar
1 vote
0 answers
329 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 ...
user avatar
  • 11
0 votes
0 answers
80 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 ...
user avatar
  • 101
1 vote
0 answers
187 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). ...
user avatar
  • 952
1 vote
0 answers
154 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 ...
user avatar
  • 11
1 vote
1 answer
723 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 ...
user avatar
  • 952
6 votes
2 answers
6k 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 ...
user avatar
  • 61
5 votes
4 answers
3k 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-...
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 ...
user avatar
  • 604
0 votes
0 answers
52 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 ...
user avatar
  • 111
0 votes
0 answers
45 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 ...
user avatar
  • 139
1 vote
0 answers
168 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 ...
user avatar
0 votes
0 answers
102 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". ...
user avatar
  • 1
1 vote
1 answer
537 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 ...
user avatar
0 votes
0 answers
466 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, ...
user avatar
15 votes
3 answers
39k 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 ...
user avatar
  • 763
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, ...
user avatar
  • 143
0 votes
1 answer
1k 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 ...
user avatar
  • 367
1 vote
1 answer
520 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 ...
user avatar
5 votes
1 answer
5k views

What are the main differences between a system snapshots (Timeshift) and partition images (saved as iso)?

Following comments under this answer of mine I became interested in the question whether the best option for me in order to back-up a system is a partition back-up as described at the linked answer or ...
user avatar
5 votes
7 answers
5k views

Take screenshots in background silently for archive purposes

During my work, I often try out tools of different complexity and develop usage and integration scenarios. I use Ubuntu 18.04 LTS. Sometimes if things get really complicated, I am not always sure ...
user avatar
  • 535
2 votes
1 answer
914 views

Timeshift 18.9.1 - Cant add Comments to btrfs snapshots

I often use timeshift snapshots with btrfs (and also snapper on servers). Bot have a comments field for each snapshot. With snapper, i can add a comment as a command-line option. Timeshift also adds ...
user avatar
  • 91
-1 votes
1 answer
88 views

hashsum is not available- unable to get source of package [closed]

I want to get the source of package wirehshark for year 2009. I am doing that by editing source.list according to Debian snapshot information. After doing sudo apt-get update. I tried: sudo apt-get ...
user avatar
  • 1
3 votes
1 answer
629 views

How to repair a broken apt-btrfs-snapshot in kubuntu 18.04?

After installing Kubuntu 18.04 on a Thinkpad W520 on btrfs over LUKS I came to the activation of the automatic APT snapshots. Here it shows up that any call of apt-btrfs-snapshot crashes, complaining ...
user avatar
0 votes
1 answer
60 views

take snaps when entered wrong password

hi a i am using ubuntu 16.04 LTS if anybody can help me with this, i want my webcam to take snaps of the person who is trying to enter my computer.it would be best if someone try to explain it in ...
user avatar
0 votes
1 answer
1k views

qemu/kvm snapshot with non-usb device

I have a fully-working QEMU virtual machine (ubutu host, XP guest). I cannot save the machine state into a snapshot because I have a PCIe card attached to the VM. The error message says «Requested ...
user avatar
  • 59
0 votes
0 answers
115 views

Screencloud stopped working properly on multiple screens

I have been using Screencloud for years as the main screenshot and snapping tool on Ubuntu. It has worked fine until I have update to Ubuntu 17.10. Now, it started "switch desktops" when I try to ...
user avatar
  • 2,672
9 votes
3 answers
5k views

Why the @ in Btrfs subvolume names?

Fairly short question. Is there any technical reason for having an @ in the name of a subvolume of a Btrfs? What's its function, benefit or cause of problems? What is the best practice? Examples: ...
user avatar
  • 191
0 votes
1 answer
168 views

Super slow mksquashfs involving Wine?

My Ubuntu install is on SSD drive ext4 format with LVM. I'm making a 'backup' by: Creating a snapshot, then using mksquashfs to copy the snapshot to an external drive. The problem is after a short ...
user avatar
  • 221
0 votes
0 answers
499 views

Btrfs automatically bitrot correction with snapshots?

I want to set up a notebook (debian) with 1 SSD and 1 HDD each with Luks and Btrfs on it. Because the SSD and the HDD doesn't have the same speed, i don't want to use Btrfs' Raid-1 on it, but i also ...
user avatar
  • 1
0 votes
1 answer
67 views

How to set Unity directly delete files on sda without possibility of recycling [duplicate]

I need to delete two Oracle VirtualBox snapshots from /dev/sda because it is running out of space. Unfortunately there is even not enough space to remove them by VirtualBox Manager. It seems to me it ...
user avatar
3 votes
1 answer
934 views

What User Space tools support Btrfs functionality (e.g. clone instead of copy)

I've recently been starting to work with Btrfs on Ubuntu, and have it setup as my root filesystem, as well as home filesystem. I have it configured the way apt-btrfs-tools expects, and that is working ...
user avatar
2 votes
0 answers
872 views

Snapshot for Ubuntu 16.04 LTS

I would like to receive recommendations on the most ideal package that can create "restore points" snapshots for Ubuntu 16.04 LTS Server. Was trying systembackbut it is not being maintained any more. ...
user avatar
  • 375
1 vote
0 answers
68 views

Space Efficient Media Backup

I have 6.8TB of Media I would like to backup. I have an extra external hard drive 7.3TB. Is there a way to make a space efficient incremental backup? I will be adding media and would like to be able ...
user avatar
0 votes
0 answers
109 views

snapshot system for physical machine with device-mapper overlay

I'm trying to create a snapshot system on my physical development machine comparable to virtual machine snapshots. I do lots of experimental stuff that I might have to revert afterwards, but I cannot ...
user avatar
3 votes
2 answers
6k views

How to let non root user take ZFS snapshot?

I am trying to let a non root user create zfs snapshots. I've created a permission set and given the appropriate user the privileges defined in it: root@computer:~# zfs allow homepool/myuser ---- ...
user avatar
  • 834
3 votes
2 answers
817 views

Snap2html for Ubuntu?

There is a wonderful program created by rlvision.com called snap2html. It creates a very intuitive and visual snapshot of all the files and directories in a certain directory. I'm desperately looking ...
user avatar
  • 305