Tag Info

Hot answers tagged

30

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


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


6

dd it! Usage would be something like sudo dd if=/dev/sdb of=~/USB_image where /dev/sdb is your usb drive as listed by sudo fdisk -l and ~/USB_image is the image file where the copy will be made (a path where the image file will be created). To restore the image to another USB drive just invert the process: sudo dd if=~/USB_image of=/dev/sdb will restore ...


5

There is now (since 2013-07-19 - version 0.6.22) support to use Google Cloud Storage directly in duplicity. You should use gsutil config -a to create a ~/.boto config file. And then you can use duplicity like this: duplicity local_dir gs://yourbucket Also of note is that only the old authentication mechanism is supported. You should enable "Interoperable ...


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

You can simply run rm *~ if you're sure there is no other file that you need which ends in ~ If it is gedit that is creating the backup files, you can open gedit and select Edit->Preferences->Editor and uncheck the option "Create a backup copy of files before saving" And for nano, look in /etc/nanorc for: ## Backup files to filename~. set backup ...


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

If you wanted a root gedit to not create backups then simply disable in root's gsettings (editing root's gsettings should be done with care & in only some limited places). sudo -i then gsettings set org.gnome.gedit.preferences.editor create-backup-copy false Note that starting in 13.10, I'd probably stick to gksudo gedit or just use a cli editor ...


4

What you describe is a feature known as filesystem snapshots. LVM implements this in the block layer, and the btrfs filesystem has it built into the filesystem itself. Practically speaking both are still not usable for the average person for several reasons: Current LVM snapshots perform badly when you create more than one, which rather limits their ...


4

Back in time sounds like a good choice for your case. From the Ubuntu Apps Directory: Back In Time is a framework for rsync, diff and cron for the purpose of taking snapshots and backups of specified folders. It minimizes disk space use by taking a snapshot only if the directory has been changed, and hard links for unmodified files if it has. ...


4

Zeitgeist is effectively an activity logger (it does some other things), and removing it is entirely safe, so i would assume not backing up its data would not be harmful to your system. You would only be losing a list of recently run applications and accessed files. More information on Zeitgeist


3

While this is possible, I would certainly not recommend doing so. The most important reasons is that you're creating an inconsistent backup on two levels: Volume inconsistency File inconsistency The only viable solutions to this are: Use snapshots. This can be achieved using LVM or a newer generation filesystem such as BtrFS. This will snapshot the ...


3

Device Boot Start End Blocks Id System /dev/sda1 * 2048 484491263 242244608 83 Linux 1 block is 512 bytes. 242244608 blocks is 115.5 GiB, not 24 as you mentioned. The dd command (refered by you as "imaging") keeps writing data to the same partition that you are cloning. This does not cause any loops, but it may yield ...


3

If you have never used the firefox option Bookmarks->Show All Bookmarks-> Import and Backup -> Export Bookmarks to HTML, then you will never see a file, bookmarks.html. In such a case, you can probably copy over the history files stored in ~/.mozilla/firefox/xxxxxxxx.default/bookmarkbackups/ where xxxxxxxx.default is a FF assigned directory. And then, ...


3

You can do that with a minor modification (pipe the find output into while loop doing a read) Time=+30 PATH_TO_DUMP=/home/tarun/Desktop/Backup #Find any Backup File defined by the time constraint find $PATH_TO_DUMP -type f -mtime $Time | while read file do #To verify if $file is empty or has some value if [ ! -n "$file" ]; then echo "No Earlier ...


3

There are several issues with your rsync command (also see manpage for rsync for detailed explanation of filter rules). we need an --exclude command each for any given pattern. paths given need to be relative to the source path (no absolute paths). options need to be given before we state source and destination. For your example the following syntax ...


3

There was an old version called TimeVault but the one I found similar to what you are looking for would be Back In Time which was inspired by TimeVault itself. It takes snapshops of predefined parts of the system. You can customize this to take the whole system. The PPA explains that you only need to do 3 things: Where to save snapshots What to backup ...


3

I don't see why not. Now keep in mind depending on what backup software you have, and the type of backup that you're using, it may not back up those items that are on the same backup drive. Also be careful when deleting anything from that drive, so it won't affect the backed up data. I would recommend that you create a separate partition for normal ...


3

Yes that’s correct when restoring backups you can chose where and which folder or files you will restore. You can restore backup as whole or part of it. When restoring you can restore to any place you point Déjà Dup. So, yes you would be able to bring your data up from the folder created by the backup


3

No matter what, always backup your data. If you switch os and do not have a separate data partition, you will lose everything that is on your disk, you will have to copy it back after installation. Then the next thing is to decide how you would want your disk to be partitioned; as one big partition + a swap area, or a separate data partition to hold your ...


3

The question is a bit generic, so the answer is a bit generic, too: yes, probably. Most applications save their settings either in a hidden subdirectory of your home directory named after the application, e.g. ~/.thunderbird, in a directory in ~/.config/, e.g. ~/.config/evolution, or in a hidden file in your home directory, again named after the ...


3

Your external drive is using either FAT32 or NTFS, which do not support permissions. You either need to switch to a unix compatible format on the external drive, or you can use tar ( or the gui archive utility ) to preserve the correct permissions in the archive while it is stored on such a disk.


2

If you use rsync, it will create a complete copy of all your files in another directory. It copies only changed files and is very fast that way. I use if for backup on servers and external hard drives: rsync -avhE --delete --exclude=.cache . /media/mu/Gamma/Backup/ For scheduling, see cron and anacron.


2

Yes. This will work. Make sure you have included everything that is important to you in your last snapshot. Run this commands to backup your PPA's and package selection: mkdir ~/.apt-backup sudo dpkg --get-selections > /home/<USER>/.apt-backup/package.list sudo cp -aR /etc/apt/sources.list* /home/<USER>/.apt-backup/ sudo apt-key exportall ...


2

You can use Deja-dup for this. If you want to just backup all of your files, then you just have to set Deja-dup to backup your entire system. Make sure the Deja-dup does not backup your backup location or it will run into problems. If you are backing up to an external hard drive it will probably be mounted under /media/$USER. I would recommend creating a ...


2

Use clonezilla on live CD/USB, its free and powerful. With this you'll be able to fully backup/restore disks/partitions including OS, userdata, etc.. Check : http://clonezilla.org/ Follow this to use : http://clonezilla.org/clonezilla-live.php#use


2

sudo -i This worked! If you are confident that the current user has the appropriate privileges to sudo, then the following command will change the root users gedit preferences from the current user sudo -i gsettings set org.gnome.gedit.preferences.editor create-backup-copy false However, instead of disabling the backup files at all, you could relocate ...


2

If you're not changing architecture (32-bit to 64-bit or vice versa) you can just back up /var/cache/apt/archives, restore it to the new machine and run sudo apt-get update That'll get all the applications migrated so you don't have to download them but it won't install them for you. Better yet, try this- dpkg --get-selections > ...


2

Your data is saved in your chrome profile folder. To go there, type : chrome://version/ in your chrome browser open a terminal, and navigate to the Profile Path given by the page mentioned above backup the folder : myprofile/databases/chrome-extension_edacconmaakjimmfgnblocblbcdcpbko_0 you should be able to restore it by copying to your new profile folder ...



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