The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
15 views

LVM snapshot - performance for write-only data

I have a client that is archiving write-only , time-series data in a database (ie. data is rarely modified after it is written, and it is rarely read as it is on a secondary/backup/failover node). I ...
0
votes
1answer
16 views

LVM Snapshot - Copy on write - does it apply to new data?

I have been reading about LVM Snapshots, and I have a general understanding of how it works. If a snapshot is made of source data, I understand that the copy-on-write (COW) means that if a ...
1
vote
1answer
40 views

Install a specific old package with dependencies

I need to install a specific version of tomcat (6.0.16) using apt-get install with dependencies from an old Debian repository. Old repositories can be found at: ...
1
vote
1answer
24 views

How to isolate snapshot volumes with btrfs?

If I create a snapshot of root with: btrfs subvolume snapshot -r / /snapshot-$(date +%s) I can then see this snapshot with ls / How do I make snapshots that are isolated from the volume that they ...
0
votes
1answer
14 views

Restore a disk from a snapshot in XEN 4.6

I created a snapshot with lvcreate -n snap01.vm01 -L 5G -s vg0/vm01.eclabs.de now I did some stuff on my disk i don't want to keep and want to revert it to the snapshot point. How do I restore ...
1
vote
0answers
15 views

Snapper - how to undo changes, preserving timestamps?

I've damaged modification dates of files on my drive and I wanted to revert them using snapper snapshots but it doesn't seem to work, snapper only reverts content of files not modification dates. ...
1
vote
0answers
22 views

using motion to trigger snapshot when movement stops

I am trying to use motion software (but I could use just any other linux software) in order to "log" some manual work by snapshots. So imagine I wanna make a stop-motion film with my LEGO(r) toys ...
1
vote
1answer
58 views

Using Device mapper thin provisioning on loop devices

I have several KVM raw files that are read only (about 100gb). I am adding these raw files as loopback devices. I then create a snap file to allow the VM to have read/write access to its disk. This ...
2
votes
1answer
46 views

Transfer content of LVM block device ensuring consistency - LVM snapshot?

I need to create off-site full backups of an LVM block device. Thinking the old dd over SSH method. To ensure I have a consistent backup, should I create an LVM snapshot first? So new changed blocks ...
1
vote
0answers
46 views

How many btrfs snapshots is too many? [duplicate]

I've been doing daily snapshots on a btrfs subvolume for nearly 3 years, resulting in over a thousand snapshots. I am experiencing occasional small stalls (a few seconds) in basic filesystem ...
0
votes
0answers
42 views

ZFS Snapshots and low space on zpool

I am trying to backup every hour my zvols. I am using zfs for virtual servers on Proxmox VE. I made myself script, which runs snapshot every hour and then send it to offsite backup, then bookmarks ...
0
votes
1answer
46 views

Solaris 11 /var used significant space, but I cannot see it on filesystem

I have a mirrored rpool: NAME USED AVAIL REFER MOUNTPOINT rpool 72.1G 1.22G 39.5K /rpool rpool/ROOT 67.9G 1.22G 31K legacy ...
2
votes
1answer
150 views

Configure Snapper/snapshots on Fedora 23

I am getting an error while trying to configure snapper on F23. My root partition is btrfs, and I have installed the snapper package. The error is occurring when I initially try to create the default ...
-1
votes
1answer
24 views

Physical Backup of Maria DB as a snapshot using LVM

I have a SQL database which I want to backup as a snapshot. I want to use LVM to do so, but I am not able to do it. Also my database is not stored in a LVM partition but its located in my /dev/sda2 ...
1
vote
0answers
58 views

When using dm-cache, how do you do snapshots on a cached LV?

In dm-cache, how do you do snapshots on a cached LV? I attempted the usual way on a CentOS 6.7 installation and got the following results:- # lvs LV VG Attr LSize Pool ...
1
vote
1answer
36 views

Snapshot size in lvm

I am trying to understand how to select a proper size for snapshot. As I know simple snapshot uses space which is needed for covering difference between two logical volumes. So, what size of snapshot ...
1
vote
4answers
281 views

Creating a snapshot of a linux system

I want to do the following - Save the current state of my linux OS(centOS6.5). Do some changes (more specifically inject a fault and test some service to check how it behaves when that particular type ...
2
votes
1answer
3k views

How to take snapshot of an ext4 filesystem

Is there any way we can take a snapshot of an ext4 filesystem so that we can revert back to it later?
2
votes
1answer
173 views

Snapper to only take snapshots if something has changed, or at a lower cadence

I'm using snapper for automatic timeline snapshots of my filesystem. The issue I have is that it continues to take hourly snapshots even when nothing on the filesystem has changed, which causes the ...
0
votes
0answers
27 views

Create Snapshot an store it on a other server

Is it possible to take a complete Snapshot of my (VPS - CENTOS) server? with a script? And that it will stored on a other server? With snapshot i mean everything ( configurations, websites etc ) And ...
1
vote
1answer
101 views

btrfs - snapshot of a parent subvolume excludes child subvolumes?

Let's say I want to exclude ever-changing logfiles from backups. Parent subvolume / Child subvolume /log I snapshot /. Looking at the snapshot, /.snapshots/today/log will be empty, correct? This is ...
4
votes
0answers
251 views

Restore Btrfs snapshot from subdirectory to parent

I have a Btrfs partition which has a single subvolume at the top level (/root). It has subvol=root option in /etc/fstab. Every week, I take a readonly snapshot into /root/snapshots/... using: btrfs ...
0
votes
1answer
87 views

How do backups that use LVM work?

Some LVM tutorials seem to claim that one take a snapshot of a logical volume (LV), then backup the snapshot using another tool, then remove the snapshot. When the unspeakable happens, the user can ...
2
votes
5answers
179 views

space-efficient disk snapshots on Linux

I like the ability of VirtualBox to instantly create and restore snapshots and I was wondering, if it's possible to do similar things on the host machine. First I looked at lvm snapshots, but some ...
2
votes
1answer
143 views

Can you do a btrfs snapshot of a live system?

I am planning on giving btrfs a try soon, and what I want to know, and can't seem to find online is this: Can you do a btrfs snapshot on a running system if the snapshot is not just of some small ...
0
votes
1answer
125 views

Snaphot for backup changing files with rsync?

With rsync, is it acceptable to modify some files in a file system, while backing up the file system? If yes, is it necessary to take a snapshot before backup, and do an incremental backup after ...
1
vote
1answer
2k views

Qcow2 snapshots - snapshot for disk vda unsupported for storage type raw

I am running a KVM server (Ubuntu 14.04) and would like to take snapshots of my guests. I was reading how about how to do that in this article. It seemed as if I should be able to take a snapshot of a ...
1
vote
0answers
520 views

Creating ISO Bootable Image from a CentOS (Linux) system

I have a Linux machine (CentOS 5.8) on which I have installed multiple applications and tools (with yum and few others after compiling the source code) on it. As I have spent considerable time in ...
1
vote
0answers
366 views

Centos web camera, fast application for snapshot?

I'm using ffmpeg for taking snapshots / still images with web cameras. I'm going to use several web cameras to take photos at the same time or one after the other (timelapse). It's important for me ...
2
votes
0answers
183 views

How do I align my new btrfs default subvolume with the real root of my filesystem?

I rolled back my system by using snapper rollback Unfortunately this caused my current default volume to not be at the root of my filesystem anymore. As you can see in this screenshot: The ...
1
vote
1answer
194 views

LVM Snapshot mount read-only or not?

In this page of Linux LVM Howto it's said that "LVM2 creates read/write snapshots by default". In this other page of Red Hat docs it's said that "Because the snapshot is read/write, you can test ...
3
votes
1answer
119 views

Is it possible and how to merge identical files between different snapshots in a btrfs file system?

I regularly use btrfs's snapshot to backup the whole system, but it's redundant to have identical files between different snapshots. Commonly, for example, I took a snapshot of @ as ...
3
votes
3answers
2k views

Difference between fsfreeze and lvm snapshot

I heard recently about fsfreeze and I'm very interested in making snapshots of my VM with VMware and get a consistent state of disk using quiescence. All my file-systems are LVM volumes, and man ...
9
votes
1answer
151 views

Rolling back btrfs subvolume with child subvolumes

Is there a canonical way of rolling back to a subvolume snapshot that has child subvolumes. So for example, this is my btrfs volume layout: ID 257 gen 59802 top level 5 path __active ID 258 gen 59784 ...
3
votes
1answer
466 views

What privileges are needed to delete a read-only btrfs subvolume?

I want to delegate non-root user to delete read-only subvolumes (snapshots). What exactly capabilities/rights I need to grant, so that he can remove his own read-only snapshots? I've already ...
1
vote
0answers
77 views

how can I backup and restore of partitions and logical volumes?

This is my disk scheme sda1 /boot ext4 sda2 /somefiles ext4 sda3: lvm volgroup1/lvolume1 / ...
1
vote
0answers
134 views

bad inodes reappear after fsck() for vps guests

I have several vps guests that were created by virt-resize. I do daily backups on the guests by creating a snapshot and rsync file contents. But some of them don't have a clean disk image. As soon as ...
12
votes
1answer
1k views

Limit on the number of btrfs snapshots?

I am considering using btrfs on my data drive so that I can use snapper, or something like snapper, to take time based snapshots. I believe this will let me browse old versions of my data. This would ...
2
votes
2answers
125 views

How can I capture a consistent snapshot of a directory and all its children?

We have an application that periodically backs itself up to a directory on the local file system. Inside this directory are several more files and directories. I want to produce a "snapshot" of all ...
1
vote
1answer
97 views

btrfs snapshots without subvolumes?

I'm starting to use btrfs. I want to be able to snapshot certain directories but do not want to create sub-volumes. Is this possible?
0
votes
1answer
275 views

LVM Snapshot without copy-on-write

I've been experimenting with LVM and how I can use it for managing data on my NFS server. With everything that I've read about snapshots, I am still unsure about how they perform in real life. Why ...
1
vote
2answers
67 views

Snapshot of drive

Does technology exist which allows you to take an instantanious snapshot of a drive? At the moment, I am using dd which takes a few minutes to create an image of a usb drive to my hdd. Is it ...
11
votes
1answer
7k views

ZFS Snapshot to file as Backup with rotation

I have a local FreeNAS system and want to use ZFS snapshots for backups. FreeNAS has the built-in Replication Tasks which use zfs send snapshot_name to send a snapshot to a remote system. But this ...
2
votes
4answers
3k views

How are filesystem snapshots different from simply making a copy of the files?

by doing this, # btrfs subvolume snapshot /mnt/1 /mnt/1/snapshot # tree /mnt/1 /mnt/1 ├── a ├── snapshot │ ├── a │ └── subv └── subv └── b 3 directories, 3 files We can create snapshot ...
3
votes
0answers
258 views

LXC with both GUI apps and snapshots on unmodified Fedora kernel

I am looking for a tool or library to run LXC that supports: running X applications conveniently snapshotting root filesystems (using a Fedora system with an unmodified kernel), so that I don't have ...
1
vote
0answers
47 views

How to efficiently create (read-only) both a snapshot and a diffshot at the same time?

I use rsync to regularly create snapshots of some directories via PAR="-aP --chmod=a-w --no-owner" # Create diffshot rsync $PAR --compare-dest=$CURRENT_SNAPSHOT $SOURCE/ $DEST.changeset.incomplete ...
3
votes
1answer
344 views

Snapshot large changing files

At home I have the following backup scheme: All machines daily rsync to the servers $FULL_COPY directory. The server takes snapshots of that directory daily (also weekly/monthly), keeping at most X ...
5
votes
2answers
4k views

How to delete btrfs subvolumes with <FS_TREE> in their name

I have a bunch of btrfs snapshots like so: 20:17:37 [root@galaxy /]$ btrfs subvolume list -a / |grep apt ID 271 gen 348 top level 5 path <FS_TREE>/@apt-snapshot-2013-04-17_21:44:30 ID 272 gen ...
3
votes
1answer
329 views

Having trouble with LVM snapshot

I have a funtoo linux machine which I am trying to add ubuntu to (thats a whole other issue). It is encrypted with luks and has lvm on top of that. I have a 2 TB harddrive (sdb) which I would like ...
0
votes
1answer
69 views

Taking a sparse snapshot

I would like to take a dm snapshot of a drive. I do not want to take the snapshot of the unused and deallocated blocks. Is there any way of determining the used blocks and sectors of a hard drive ...