Questions tagged [restore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
36 views

How to restore my system to good condition on linux mint 20?

I booted from Linux Mint Live from USB with the aim to separate /home from / separate partition I mounted both the partitions and by mistake moved wrong files to wrong place (while using sudo) mount /...
0
votes
2answers
44 views

FreeBSD best practice for backup restore [closed]

What is the best practice for system backup and restore on freebsd? Because I'm making many changes to the system I need to use quickest and easiest way to restore entire system to previous ...
1
vote
0answers
16 views

Partial restore with Back In Time

I'm trying different backup methods for my Linux machine. Came across Back In Time, and I like it, but: Is there a way to restore just some of the backed up files/dirs? Say I have selected dirs */A/, *...
0
votes
2answers
249 views

Using rsync to create a complete OS backup/clone sufficient?

Will using rsync to duplicate an entire file system, e.g. doing rsync -avxHAX --progress / /dev/[backup disk] as suggested here, result in a complete duplicate Linux system? I.e. will all system and ...
0
votes
1answer
66 views

# dd + lz4 compression and de compression

I have a CentOS server and I have take a backup of the server using following command (dd + lz4). # dd if=/dev/sda bs=100M | pv -ptera -s500G | lz4 > Lenovo-Win8-sda.dd.lz4 It's working and now I ...
-2
votes
2answers
75 views

Copying or restoring crtime for files/directories on ext4fs filesystem

I wonder if there are ways to copy or restore crtime (creation time) for inodes/files/directories in Linux in 2020. I've accidentally deleted a folder while I still have a full disk backup, but ...
0
votes
0answers
38 views

Restoring Linux Mint 19.2 from snapshots on an external USB drive boots me into tty NOT linux desktop. Any ideas what's wrong?

I recently screwed up my Linux Mint 19.2 laptop's drive and need to restore it from recent Timeshift snapshots stored on an external USB drive. My procedure has been to: Reinstall LM 19.2 from a ...
0
votes
1answer
45 views

Accidentally executed luksFormat instead of luksOpen

I have two disks as RAID-1 encrypted via LUKS: # blkid ... /dev/md0: UUID="x-x-x-x-x" TYPE="crypto_LUKS" Accidently I executed cryptsetup luksFormat /dev/md0 instead of cryptsetup luksOpen /dev/md0 ...
1
vote
1answer
114 views

Proper way to backup an overlayfs

I'm using an overlayfs for different folders. Now I'm thinking about a backup and restore process. I didn't found anything via google, which answered my question. An overlayfs has an upper, lower, ...
1
vote
1answer
19 views

After a reboot is there a way to restore prior windows like terminals and gnotes to what they were before a reboot?

I have a dual boot setup (GNU/Linux-Debian-Buster & Windows 10). Sometimes I have to shutdown GNU/Linux, thus closing all of my many open windows with work in progress, to be able to ...
0
votes
1answer
266 views

Which OS will be reinstalled with a factory reset from a dual boot?

I have a computer that had been installed with a dual-boot. Currently, there is when I start a grub kernel that handles two OS on multiple partitions (sda1 to sda4): Ubuntu Windows (with some remote ...
1
vote
2answers
185 views

dd: “No space left” when restoring backup to exact same disk

A while ago I made a backup of an entire disk using dd if=/dev/nvme0n1 conv=sync,noerror bs=64K | gzip -c > backup.img.gz Today I restored this backup to the same disk using gunzip -c backup....
0
votes
0answers
19 views

Does Restoring Files Remove New Files Created After the Backup?

I backed up all my data on my Ubuntu 18.04 before sending my machine in for repair. Before sending in my machine, I removed the SSD (meaning I did not factory reset my device, and just sent it in ...
1
vote
1answer
150 views

A good way how to backup user data in CentOS?

I need to back up my data and I have not found a good way so far. Just say I have 1 TB of a non-system disk with 50-100 GB of user data (binary files, source code, images, etc.). And another big disk,...
0
votes
0answers
30 views

using dd copy with count option

I have a HDD with 3 partitions (ntfs filesystem). /dev/sda1 is the system partition and dev/sda2 is the OS partition. There is some unallocated space and then /dev/sda3. dev/sda3 has very little ...
0
votes
1answer
124 views

xfce4 + i3 are not properly restoring saved sessions?

I'm using manjaro with xfce4 and i3 as my wm. So far so good, the problem that I'm usually facing is that whenever I logout from my current session and log back in all my apps are closed and the ...
0
votes
0answers
33 views

Accessing/Extracting files from .img-backup

I created a backup for my sd-card (used for my Raspberry Pi), which is a compressed (.zip) .img-file (backup.zip contains disk.img). Now I need to access one specific file from my this backup. ...
0
votes
0answers
80 views

Odd output from dsmc (Tivoli storage manager or TSM) query backup

I'm using TSM (dsmc) on Ubuntu 14.04. # dsmc IBM Spectrum Protect Befehlszeilenschnittstelle des Clients für Sichern/Archivieren Clientversion 8, Release 1, Stufe 8.0 Client-Datum/Zeit: 04.12....
0
votes
1answer
39 views

Why use tape for restoring AIX mksysb instead of other ordinary drive devices?

I'm intrigued by the fact that the only way to restore a mksysb backup on AIX Unix systems can be done either by using a NIM server or by manually using a tape. Why is it that you cannot replace the ...
0
votes
0answers
15 views

Can be the snapshots made by Snapper used in LiveCD?

Restoring root system by snapper in openSUSE KDE just made my OS crashed so maybe it can be used in LiveCD. Snapper will create some snapshots in the .snapshot folder, they can be used in command-line ...
-1
votes
1answer
35 views

How to do linux snapshots similar to VirtualBox guest snapshot?

I'm still learning how linux works so I'm constantly making mistakes, installing packages in the wrong way and whatnot. A good way of solving this is using VirtualBox and just taking snapshots from ...
0
votes
1answer
91 views

“Backups” (deja-dup): after installing duplicity 0.8 from source, “Backups” can't find it

When using "Backups" (a.k.a. deja-dup) - it doesn't find duplicity, although it's installed: I have been trying to backup using "Backups" (a.k.a. deja-dup), and it turns out that the current ...
2
votes
3answers
2k views

How can I create an image of a partition (ext4) and later mount it to browse/restore files? [duplicate]

I'd like to backup my current Debian 9 server OS partition so I can install a clean version of Debian 10. However, after installing Debian 10, I'd like to mount my old OS image so I can browse and ...
2
votes
0answers
254 views

Restoring Android “userdata” partition from an eMMC - Unknown filesystem

I have successfully dumped an Android (7 or 8) filesystem from an eMMC chip into file sony_xa1.img using dd. I'm able to mount the system partition but not userdata. Using $ sudo losetup -Prf ...
3
votes
1answer
43 views

Restore a removed file when still in use

Is there a way to restore/recover a removed file when it's still in use?
1
vote
0answers
224 views

How to fix my partition after mistaken gpart bootcode?

I was trying to make my HDD bootable and did gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1 and now I got "Invalid partition" message on boot. /boot was from USB drive, not from HDD (...
0
votes
0answers
66 views

How to restore files with it's folder structure

Even the famous data rescue software photorec can only restore files without any folder structure, with so many rescued files listed, you are hard to know where the file was, compare to Windows ...
-1
votes
1answer
556 views

updates.sh - Command Not Found - Arch linux

I installed Archlabs 1 month later, today I noticed bin folder in ~ directory and Deleted it. After Reboot This errors Came out in polybar /bin/sh: updates.sh: command not foun And /bin/sh: ...
1
vote
1answer
1k views

Can I restore my Linux Mint installation from external Timeshift snapshot after switching SSD?

I am using Linux Mint 19.1 "Tessa" on my laptop which has 120GB SSD. I want to change to a SSD with more storage. I know that with the Timeshift backup utility you can make a snapshot of the system ...
1
vote
0answers
232 views

Duplicity full volume restore, missing some files and services

I'm using duplicity on Ubuntu Xenial for creating and encrypting backups and storing them on an S3 bucket (Scaleway). This is the backup script I'm using: #!/bin/bash source ./.scw-configrc HOST=`...
0
votes
1answer
78 views

criu: hello-world not working

I wanted to play around with criu, a project for checkpointing/restoring linux processes. For that I am playing around with the hello-world of criu, which is checkpointing and restoring a simple loop. ...
0
votes
1answer
312 views

Debian - Restore a Timezone File [duplicate]

So, I just screwed up a timezone file on my Debian system because I pointed it as a link to /etc/localtime vs. pointing /etc/localtime to it. Specifically, /usr/share/zoneinfo/America/Puerto_Rico. I'...
0
votes
1answer
482 views

I deleted my files with git rm, but i also commited them, how to get them back?

I ran git rm on some files thinking that they will be removed from the bitbucket repository, and i also commited them, after that i checked that they disapeared from the bitbucket repo, but they were ...
0
votes
1answer
871 views

Can I restore a Grub installation using dd?

I have a dual boot system with this partition layout: # fdisk -l Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors Disk model: SAMSUNG HM640JJ Units: sectors of 1 * 512 = 512 bytes ...
0
votes
1answer
109 views

How to restore partitions after renumbering?

I have read the posts and decided to follow it to do it, Change the number of the partition from sda1 to sda2, made by Joao S Veiga. I thought it would be light-risk because renumbering partitions ...
1
vote
1answer
213 views

How do I backup Chrome OS?

I tried to use Acronis Backup & Restore Universal which boot form USB media, but it doesn't work. It doesn't boot from USB removable media. It looks like Chromebooks don't have a BIOS like normal ...
1
vote
1answer
60 views

restore under RHEL 7

Say there's an application that install to /opt/ directory. I update it with yum. I do a full server backup, that is all the file systems (/opt/ maps to the root directory). Now, I discover a bug post ...
3
votes
1answer
6k views

Restore ZFS Pool and storage data after a system re-install

I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online. I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive ...
0
votes
1answer
316 views

How to restore the guest account in Ubuntu 18.04.1 LTS Bionic Beaver?

I have removed the guest account from the command-line using the command sudo sh -c 'printf "[Seat:*]\nallow-guest=false\n" >/etc/lightdm/lightdm.conf.d/50-no-guest.conf' How can I restore the ...
2
votes
0answers
317 views

tar restore --listed-incremental timestamp is in the future

I have some backups that were created using tar --listed-incremental features. When I restore the individual backups one after the other using tar -xf archive.tar I get no warnings but if I restore ...
-1
votes
1answer
134 views

Backup and restore clonezilla linux image into a new windows based laptop

my current office laptop ( that died recently ) is configured with dual boot windows/xubuntu, because company laptop comes by default with windows. Luckily the hard disk is fine. Now the new laptop ...
0
votes
1answer
155 views

backup with tar

I have found that I need this command to make a full backup of the Etc folder tar cJPf /srv/dev-disk-by-label-Share/Myfiles/$(date +%F)-$(hostname)-etc-tar.xz /etc/ But what command do I need to ...
0
votes
1answer
1k views

Can I restore a Macintosh disk image using dd?

I have a clone of an entire Mac OS HDD that I created using dd, as: sudo dd if=/dev/sda of=/media/mint/backup/mac-backup.img I verified the integrity of the image at creation time using diff. Now I ...
-1
votes
2answers
398 views

Restoring a text (known_hosts) file

rm ~/.ssh/known_hosts Without doing a backup of this file Now file is empty, is there any way to recovery/restore this file ?
0
votes
0answers
73 views

Why can't I change directory to the current directory with permission denied? [duplicate]

I am trying to restore a database with the following command: $ sudo -u postgres pg_restore -C -d dvdrental dvdrental.tar [sudo] password for t: However, I am receiving the following error message:...
2
votes
3answers
5k views

How to restore the “Applications” menu of Ubuntu Mate 18.04?

I was editing menu (rearranging a few shortcuts) when something went wrong and the machine got frozen. Upon hard-resetting I found the "Applications" menu to be completely empty. No way to edit it as ...
1
vote
1answer
1k views

How to replace btrfs root subvolume with received snapshot?

I want to convert my existing full-disk btrfs (unpartitioned) filesystems to bcache. To do so, I need to move data around and reformat the drives. I have enough hdd space to do it in a couple steps. ...
0
votes
1answer
340 views

CRIU for non-root users

CRIU doesn't support in non-root user environment, to my knowledge. Does anyone have got a patch for this? -a Linux enthusiastic.
0
votes
1answer
467 views

Will tar overwrite my home folder

I'm using tar to backup and restore my Ubuntu system. For my Ubuntu system, I mount / to dev/sda1 and mount /home to dev/sda2. I want to backup or restore / without /home. To backup, I execute cd ~ ...
0
votes
0answers
2k views

rsync and NTFS external drive

I noticed recently that backups I have on two different NTFS-formatted external drives, that were supposed to be identical, are actually not. And none of them is identical to the data that's on the ...