The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
15 views

dump command - does it save extended attributed, ACLs and SELinux settings on ext4 filesystems?

I'd like to use dump(8) for dumping an ext4 filesystem for transport to another system. However, it is not clear from research that I have come across as to whether the dump/restore pair will ...
0
votes
1answer
35 views

Can backups of root mounted to a logical volume be restored to a larger logical volume?

My current Ubuntu setup has root mounted to a LVM2 logical volume 'lvroot'. lvroot is 10G. I've been taking snapshots of lvroot, and then making dd backups of the snapshots (which creates a backup of ...
-1
votes
1answer
9 views

Why does bacula restore fail?

I have bacula setup locally on my computer. I made a backup, then I deleted one of the files that was backed up. I opened up bconsole and ran the restore command to restore the file. The restore ...
0
votes
0answers
32 views

Recover Files in Centos

i am changing all wwwroot folder file ownership root to www and all files automatically deleted or missing from /home/wwwroot folder. so if anyone know how to recover that files and why this happening ...
1
vote
0answers
34 views

After restoring a backup my permissions seem to be borked

I made a complete backup of the system with "rsync -aAXv", and set up my encryption. After restoring everything, and booting up and trying to login, openbox didn't want to start, and "startx" didn't ...
0
votes
1answer
49 views

Finding out a directory's previous permissions

I have root access in my Linux environment. I have a directory 'officestaff'; this directory permissions were changed to 775 and the modification date changed. How can I know the previous permissions ...
0
votes
1answer
39 views

Restore deleted text file content [duplicate]

I just wrote an important text and stored it as a simple text file. Then i accidentally cut out the content (with Ctrl+X) when i just wanted to copy it, and saved the file. Now it is of course empty. ...
4
votes
1answer
160 views

Use backup file from dd to restore hard disk and also extract files

I made regular complete backups of my hard disk (with all partitions) using dd tool as backup.img file. I have several such files. Now that my old hard disk died, how can I use backup.img file to ...
0
votes
0answers
14 views

How to restore initial configuration, files… of python on Linux Mint

Due to a mistake when compiling Python sources (Python 2.7.11), my Python installation is broken. I can solve the problem partially by recompiling the initial version of Python (2.7.6). This solution ...
0
votes
0answers
21 views

Restored Volume Group but No LV inside

I created Volume group on 2TB ISCSI Block device . And on that I created Volume group and added the entry in fstab with options _netdev. But after reboot it didn't come online. What happened and ...
2
votes
0answers
39 views

Is there a terminal emulator which remembers the output from its last run?

While modern desktop environments usually start all the applications which were open in the previous session and some terminal emulators may even open as many tabs as before, I've never seen a ...
5
votes
1answer
10k views

Openldap backup restore

I am trying to setup backup and restore and make sure it works. Please note that database size on ldap.old is lot more then the ldap. The /var/lib/ldap.old is my existing database. I have renamed /...
0
votes
0answers
19 views

How to undo deleted crontab list [duplicate]

I accidentally typed crontab -r instead of crontab -e, Which resulted into deletion of crontabs without any notification. How can I undo my step?
0
votes
1answer
43 views

Back In Time does not show (encrypted) snapshots on new machine

I'm using Back In Time 1.1.12 in elementary 0.3.2 (based on Ubuntu 14.04) to backup my home folder to an external hard drive. Seemed to work fine so far. Now I've bought a new computer and installed ...
0
votes
1answer
51 views

Fresh Debian install. What files do I restore from a backup?

I just installed Debian 8.2 Jessie fresh on a new machine. I ran tar -zxvpf myBackup.tar.gz to extract folders from a backup from my old machine, which also ran Debian 8.2 Jessie. The folders I ...
1
vote
0answers
27 views

apply proper security labels during filesystem restore

When restoring a filesystem on a separate system (i.e., possibly a different system than the one where the filesystem was originally mounted and in use), I would like to apply the correct security ...
0
votes
0answers
32 views

Deja Dup restore overwrites original file dates?

Deja Dup restored data but all files are erroneously marked created today. Any way to restore files with original creation dates? Thanks!
1
vote
0answers
98 views

Restore errors: “bad header/extent: invalid magic - magic 1701”

I'm testing these instructions to restore a backup image to an Intel Edison from a previous .img image. The backup line was: dd if=/dev/mmcblk0 of=sd/ubilinux_image.img I removed a file (to see if ...
2
votes
1answer
97 views

how to do version-specific backup/restore of Debian packages?

summary Note version-specific in the question title! This question is not, how to On one Debian host, capture a list of all installed packages. On another Debian host, install the latest versions ...
1
vote
1answer
87 views

How to restore ubuntu Linux to the default factory state/settings

Hello I was wondering if Linux (Ubuntu) has a way of restoring the system if something goes wrong like a Microcomputer software Windows Personal Computer.
8
votes
1answer
144 views

How can I put some comment in yum installation list?

Lets say I made a List of installed packages by: rpm -qa > list I want to use this list to re-install those Packages on another System, For Example By: yum -y install $(cat list) But I need ...
3
votes
1answer
50 views

FreeBSD restore(8) confusion

I have successfully backed up the /, /usr and the var slices from an old machine. I have tar files on my windows machine. I need to restore the original slices to a new machine (Virtual Machine). ...
0
votes
2answers
1k views

How to backup and restore to different hardware in Linux? [duplicate]

I am running Fedora 22 on a Dell Laptop. I plan on migrating to a desktop soon which will also run Fedora 22. What is the best way to go about backing up and restoring my laptop configuration to the ...
0
votes
1answer
624 views

how to restore a logical partition to its original ext4 format

This question is following Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7 where the diagnostic was that installing windows 7 deleted my /home partition, lovingly ...
0
votes
0answers
92 views

Bareos Error: File size of restored file

I do use bareos 14.2 on CentOs 6. Recently i wanted to restore one of backed up machine. The most of restoration goes well except for one file, where i got this error: Error: attribs.c:419 File size ...
2
votes
2answers
2k views

How do I transfer installed packages and settings from one distro to another?

I've been exploring learning and about the Linux system via VirtualBox for a few month's and decided that I want to make it my main OS and install it on my hard-drive. I have a number of files, ...
3
votes
2answers
3k views

Can I restore a single partition from a Clonezilla disk image?

I was thinking of performing a Clonezilla backup and was wondering what backup mode to choose. Generally speaking, Clonezilla offers the following backup options: savedisk: Save a full disk image ...
1
vote
0answers
17 views

Is there a way to salvage a partition table that was automatically edited by windows?

I tried upgrading to windows 10 and expected it to overwrite the bootloader, but it screwed up the partition table as well. So I'm wondering if there's any way to recover the linux installation. Here'...
0
votes
0answers
40 views

How to restore data from Ubuntu if it doesn't load?

I have a notebook with two installed OS, Ubuntu 14 and Windows 10. Recently notebook had fallen, and I've stucked with problem with my hard drive. Each time when I try turn on notebook, I have the ...
0
votes
1answer
241 views

chmod 755 has stopped access to databases

I am trying to set wordpress permissions from some blog site. My session dropped out and I reconnected but at the default path and not in the directory. I went back to the guide and ran this command: ...
0
votes
0answers
112 views

linux + how to restore sdaXX.fsa files by the fsarchiver tool

I get the following files (that was backup from some Linux machine ) swap.label sda-partition-info.sfdisk sda.mbr sda1.fsa sda2.fsa sda3.fsa sda.labels sda7.fsa sda5.fsa in order to build ...
2
votes
2answers
282 views

Restoring from NTBackup Tape

Does anyone have any insights into how to read files from a tape created using NTBackup? The situation is as follows. Several months ago, my office migrated a key piece of software from a local ...
6
votes
1answer
107 views

How to restore an LVM container to a bigger physical partition?

The setup is an encrypted LVM container/PV that holds a few ext4 partitions. I am moving these to a new machine, but there is more room on the disk. So, I have created a bigger encrypted LVM ...
12
votes
2answers
7k views

How to create a snapshot in btrfs, and then rollback to it after some work?

What are the commands to use in btrfs in case I want to: create a (read-only) snapshot of a volume; (do some experiments in the volume); and then rollback the volume to the snapshot?
1
vote
2answers
121 views

Pack installed system in tar.gz file

I have arch linux installed, with partition scheme like this: /dev/mapper/lvm-root -> / /dev/mapper/lvm-home -> /home /dev/mapper/lvm-opt -> /opt /dev/mapper/lvm-pkg -> /var/cache/...
0
votes
3answers
783 views

How to restore the /etc/init.d/pure-ftpd-mysql?

By a mistake... this is my new /etc/init.d/pure-ftpd-mysql: /etc/init.d/pure-ftpd-mysql restart How to install or recover the file? The standard apt-get remove, apt-get install or apt-get ...
2
votes
2answers
182 views

How to restore a folder that seemingly disappeared after using mv?

I moved/renamed a folder with .svg-figures using mv fig figs. In my mind, this should have renamed the folder 'fig' to 'figs'. Accordingly, the output from ls showed a folder named 'figs' when I ran ...
0
votes
1answer
36 views

Can't find the location of DUMPed file system

I dumped a file system, chose the name for the dump ("home_fs_dump"), the dump was declared successfull, and yet I couldn't locate this name anywhere in the system. (And at the end I tested if locate ...
0
votes
0answers
1k views

Backup And Restore Shell Script

I have been trying to create a script that backups up a certain directory and then restores the directory. The backup works as it should but when I try run the restore function I get the following ...
3
votes
3answers
168 views

Taking complete backup of System and then restoring?

I am using kubuntu 10.04 and now I want to install Mac on my PC. I have my data scattered in over 200 Gb and I want take a backup such that with one command all my data is saved into a single file. ...
1
vote
0answers
254 views

Restore from incremental backup?

I read some books which use dump and restore. They said that during restore, first restore the latest full backup, and then restore each incremental backup created after the full backup. But I am ...
-6
votes
1answer
81 views

How to know where a file was before it was moved [closed]

Why does find match all the files when using it like this? find ~/ "*.pdf" So, I accidentally messed up with my home directory and moved all the files into ~/Documents. Is there a way to undo ...
0
votes
3answers
83 views

/mnt directory is removed undesirable!

Accidentaly I have removed my /mnt directory... how can I restore it? with the exact permissions and etc??? This directory was empty.
1
vote
2answers
669 views

Backup and restore IMAP mail account with (open source) Linux tools

Which Linux tools help to backup and restore a IMAP mail account including all mail and subfolders? I expect disconnects for large IMAP accounts because of ressource limitiations on the server ...
0
votes
1answer
135 views

Backup and restore of raid1 device, after OS upgrade

We have a physical RedHat server with two 60GB local disks, and two RAID 1 devices on them. There are also a few multipathed SAN luns. Disk /dev/sda: 60.0 GB, 60022480896 bytes Device Boot ...
2
votes
0answers
188 views

Restore /var/cache files

I've accidentally deleted all contents of /var/cache files. I managed to reinstall most by doing dpkg -S /var/cache and apt-get --reinstall install PACKAGE_NAME (see here) on every package that I've ...
1
vote
0answers
82 views

Restore Trash Script not working

I made a script to send a file to a trash folder... echo "Are you sure you want to move this file to the Recycle Bin?" "(Yes/No)" read ans case "$ans" in Yes) echo "$(readlink -f "$1")" >> "$...
0
votes
1answer
70 views

linux after restore + GRUB error

I restored Linux machine , and when the Linux machine startup I get the following errors GNU GRUB version 0.97 GRUB> Please advice how we can fix that? In order to startup my linux machine?
3
votes
1answer
3k views

How to restore folders to their original destination using duplicity?

After performing a backup of a couple of directories like so: # duplicity\ --exclude /home/user/Documents/test1/file\ --include /home/user/Documents/test1\ --include /tmp/test2\ --exclude '**'\ /...
2
votes
1answer
211 views

Which config files in /etc folder must be unique for each computer?

I am doing a restoration test of backup files on a computer. Without putting much thought into it, I did an rsync to replace all files in /etc folder with the ones in the backup. Then, I realize I ...