Tag Info

Hot answers tagged

18

1. I don't have a computer! Indeed! The forgotten masses of Ubuntu! Well, not forgotten here... ;-) The others might wonder, but you and I know: You might not have the big bucks to buy your own computer, but you've got your own personal computer safely tucked away on your USB stick/pen drive/SD Card/external HDD or even just simply your phone/tablet... ...


7

I've been doing this for years. I'm writing now from a PC which does not even contain an internal hard drive. I don't even carry a laptop, just this high performance USB flash media. I will now outline the two components you need to buy if you want decent performance. Most flash drives are too slow for most people, and they can also become unstable due to ...


7

In Linux everything is a file (That does not mean you can back them up) Technically everything is not files (I am no expert). However, some folders are special in the sense that they are not real folders. /proc is just one of them. It is a virtual file system that contains runtime file information. In other words, its contents keep changing as the system ...


6

Installed Packages Selection using apt-clone APT-Clone. This package can be used to clone/restore the packages on a apt based system. It will save/restore the packages, sources.list, keyring and automatic-installed states. It can also save/restore no longer downloadable packages using dpkg-repack. APT-Clone is used by ubiquity (Ubuntu installer) ...


5

There is a software for Linux called Timeshift exactly for this purpose. Using Timeshift you can take snapshots of your Linux system regularly and restore them whenever you need. This software brings System Restore feature of Windows to your Linux distribution. A short description from its official website: TimeShift for Linux is a application that ...


5

If you copy a partition with dd, the output file will be as big as the partition. dd does a physical copy of the disc, it has no knowledge of blank or used space. If you compress the result file you will save a lot of space, though, given that blank space will compress away very well (beware, this is going to be computationally very heavy). You can ...


5

For the people that don't know, MEGA is a Dropbox alternative, with 50GB of free storage, available for Mac, Windows and Linux, created by Kim Dotcom. I have been using Mega for months now, and it has turned into my new default Cloud Storage Service. Although some features are not present, such as, file previewer for Document files(.doc/.pdf/.txt). Image ...


5

Download the ignorelist to /var/tmp/ignorelist wget https://gist.githubusercontent.com/rubo77/8ffaadbc58ab099d2bc3/raw/099c3e350a92e7dcb3ef406c10d4b2740151c22f/ignorelist -O /var/tmp/ignorelist Then start the rsync with rsync -aP --exclude-from=/var/tmp/ignorelist /home/$USER/ /media/$USER/linuxbackup/home/


4

It does not matter. Because if you install and run the software after restoring back, the software will start using config files right away, because those files came from restore. but when you install software and then restore the config files will be overwritten. You will be back when you made the backup. if you do this way, make sure you have closed all ...


4

The script below is an opposite- variant of this script; while that one acts on specified drives, this scripts acts on all except specified (usb) drives. What it does Whenever an external usb storage device is being connected, the script copies its content into a directory, defined by you (in the head section of the script: target_folder =). A sub ...


4

Watch the ordering. The -f option represents the file, and it should be immediately followed by the file name. The proper command here is tar -xvzf files.tgz.


4

No, there is no single command to do what you are asking. Why? This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together.1 In this instance, the mkdir and rm commands do what you require, and work well together, since rm -r will delete the directory as well, so a subsequent mkdir will create ...


4

If your goal is to execute a one-line command that: Removes and recreates the directory ~/Desktop/foo if it already exists. Just creates the directory ~/Desktop/foo if it does not already exist. Then you can use: rm -r ~/Desktop/foo; mkdir ~/Desktop/foo ; is equivalent to a newline, but it lets you execute multiple commands on a single line (i.e., as ...


4

Set DEJA_DUP_DEBUG=1 like so on the command line: DEJA_DUP_DEBUG=1 deja-dup --backup


4

Actually, it seems to be a commercial decision. See: https://help.backblaze.com/entries/20203476-Is-Backblaze-going-to-offer-Linux-support-


4

This should be possible; your flash drive just needs to have enough memory for the OS and whatever files you'll be using. The limitations are based on the flash drive and/or the computer you run it (but most likely the read/write speed of the flash drive will have a larger impact on speed). The stick is used as memory similar to any other harddrive in a ...


4

First of all, if your drive is experiencing I/O errors you should check if your drive is healthy enough. I/O errors might be localized only on a/some specific bad block/bad blocks, but having one/some is how a drive failure usually starts. You can use smartctl to check your drive's S.M.A.R.T. status, which provides many informations about the drive's ...


3

Grsync is meant as a GUI to rsync. You can use it also very easily to "compose" The command, to use on startup (e.g. if you are unsure how to create the rsync command): in Grsync, choose source and destination, as well as your options: Choose "File" > "Command line": A window will popup with the command you are looking for: Copy the command you ...


3

As long as you ensure you install the bootloaded (grub) on the hard disk you're installing Ubuntu on, there is absolutely no problem!) I've even installed Ubuntu on an external hard drive on my own machine and then moved that to the internal hard drive of another machine multiple times and it just works (unlike Windows)


3

There is no real configuration file. Unity and Compiz are using GConf to store their settings. GConf is a configuration store that provides an API for applications to read and write configuration information and receive notifications when configuration items change. The configuration data is saved under ~/.gconf, but modifications should only ...


3

What I want to know is can I view the Windows backed up files in Ubuntu and then select the ones I need to restore? No / doubt it. These backups tend to be created for that specific program in Windows and have some form of encryption or compression. You need to restore the files you want in Windows and then copy them over to Ubuntu. For example, I ...


3

Don't rely on the dependence system, because it may change in future updates. The correct procedure to follow is to change runlevel and go in Single User Mode with an init sequence (official MAN link). The system will terminate the services in the correct order for you. Open a virtual terminal (CTRL+ALT+Fn) and gain root privileges with su or sudo su (last ...


3

I suggest you following two ways. First. To modify /home/servershare/networkbackup folder's permission. $ sudo chown -R servershare:servershare /home/servershare/networkbackup $ ./prod1backup.sh Second. To use sudo command directly. $ sudo ./prod1backup.sh I think that "Permission denied" is shown, because it folder's owner is not current user.


3

Use duplicity to extract it: duplicity restore file:///path_to_folder_contains_backups/ path_where_to_extract_it/ Enter GnuPG passphrase, Press Enter By default, Duplicity restores last backup (comparing time) in the source folder even its not the backup for the same folder. If you have multiple backups for different folders or you want specific time of ...


3

First, copy the contents of C:\Users\USERNAME\AppData\Roaming\Thunderbird\Profiles on your Windows 7 machine to your Linux machine. Make sure you get atleast one folder with a name consisting of a random string of characters and then a name - e.g. x90j7qn5.Default User Then create a directory called ~/.thunderbird, and copy the files into it, and note down ...


3

Use: sudo dd if=/dev/sdX of=/dev/sdY to copy the contents of /dev/sdX to /dev/sdY.


3

Per manpage: http://manpages.ubuntu.com/manpages/natty/man1/deja-dup.1.html SYNTAX: deja-dup --restore FILES EXAMPLE: deja-dup --restore /usr/lib/cgi-bin/somefile.txt This will restore the last known copy of this file. So if your last backup was on 5/15/2014, then only data up to 5/15/2014 will be present in somefile.txt . I've actually run this ...


3

Edit : works with util-linux >=2.21. At the time of writing ubuntu ships with version 2.20 only From man losetup : -P, --partscan force kernel to scan partition table on newly created loop device So just run $ sudo losetup -f --show -P /path/to/image.img to create device nodes for every partition of your disk image on the first ...


3

For Owncloud 6 & 7 the above path did not work, the folder needs to be: /<owncloud prefix>/remote.php/files/<backup folder>


3

It's a bug in libpam-smbpass. You can get rid of it, the only thing it does is that it forces sync between the samba and unix password on login: sudo apt-get remove libpam-smbpass sudo service netatalk restart And you're golden again.



Only top voted, non community-wiki answers of a minimum length are eligible