Tag Info

Hot answers tagged

49

The following is a list of the cloud services similar to Ubuntu One that work in Ubuntu (Can be installed with a .DEB file) and may provide support for the Unity Systray: Dropbox Website - https://www.dropbox.com/ Starting Free Space - 2 GB Bonus Space - 25 GB to 50 GB when used on an Smartphone Characteristics - Sync Files/Folders between devices. Unity ...


17

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... ...


8

I suspect you just don't have access to them from the user that is running this script. Look at the file ownerships: $ ls -l /var/log/{dmesg,syslog,message} ls: cannot access /var/log/message: No such file or directory -rw-r----- 1 root adm 86384 Mar 9 11:12 /var/log/dmesg -rw-r----- 1 syslog adm 18553 Mar 25 13:25 /var/log/syslog You could read from ...


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 ...


5

Home Data, Configuration /etc,.. using duplicity Duplicity backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server. Because duplicity uses librsync, the incremental archives are space efficient and only record the parts of files that have changed since the last backup. Because duplicity uses ...


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 ...


4

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 ...


4

You most probably don't have read permissions for /var/log/{dmesg,syslog,message}. So even though you have the files created on your destkop, they will be empty, since nothing was read but an attempt to write was made to a file(the one created on your desktop). So you have two options: Get read permissions for /var/log/{dmesg,syslog,message} as follows: ...


4

Your problem is the following lines of your script : echo ' ' > /var/log/dmesg echo ' ' > /var/log/syslog echo ' ' > /var/log/message Unsurprisingly, since those are precisely lines 7,8 and 9 which are the ones that bash is complaining about. These commands are attempting to delete the contents of those 3 log files in /var/log but since they are ...


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

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

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

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

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 ...


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

Just modify the command. The actual command is juju backup create. It will definitely work.


3

Many many folders are affected when installing software. For a complete picture see How to understand the Ubuntu file system layout? Directories you will need are /bin/, /sbin/, /usr/, /etc/, /var/ , /lib/, /home/, /opt/ (3rd party software goes to /opt/; might be empty). /boot/ might be needed too depending on what you install. I would reconsider if I was ...


3

Since everything is working fine from the command line, the error Permission denied (publickey) means that the SSH part of rsync is using a different identity file than the specified username. From Jan's comment on the original question, we can specify the identity file in the rsync command using -e 'ssh -i /path/to/identity.file' .... Using the below ...


3

The line with DROPBOX="/root/Dropbox/Backups does not have a " at the end. The MYSQL, MYSQLDUMP and GZIP variables refer to the programs used to execute various commands. So they should contain the path of those programs: MYSQL="/usr/bin/mysql" MYSQLDUMP="/usr/bin/mysqldump" GZIP="/bin/gzip" You can use the output of which <program name> to see ...


3

If you haven't made any significant modifications, copying the skeleton bashrc is enough. It doesn't affect the boot or GUI login process.


3

You could simply use dd to dump your partition into a file, like so: sudo dd if=/dev/sda1 of=dump.img Then you can easily restore it by running the following command from a live DVD / USB stick: sudo dd if=dump.img of=/dev/sda1 Replace /dev/sda1 with your root partition. Obviously, you will need to place the dump file to another partition. Another ...


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.


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

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

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

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



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