Hot answers tagged

4

To set up the cronjob for yr present non-root user, do in terminal: $ crontab -e The above will open yr (non-root) user's crontab with his/her default editor. Alternatively, to do so for the root crontab, but with yr present (presumably non-root) user environment parameters (default editor, etc.): $ sudo -i crontab -e In yr opened crontab, enter a new ...


2

There is a good software with a GUI to do that called Fslint that you can install by your default repositories: apt-get update && apt-get install fslint With this software, you can detect duplicates files by using the names but also the content (may be longer with content).


2

That's easy to solve. Backup / (yes, that's the file system root), but define in/excludes to only backup the folders you want eg. --include '/home/user1' --exclude '**' more info about in/excluding can be found on duplicity's man page.


2

Based on this documentation you can use tar to make backup of whole your system in just one command: sudo tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --one-file-system / It will create backup.tar.gz archive in folder where you are in. You can change destination as you wish (e.g pendrive) If you have your home on different partition you need to ...


2

When you backup and restore, the permissions need to be identical, otherwise, you will not be able to log in. You could probably boot into recovery mode and do a recursive chown on your home directory. This should probably fix it.


1

Well it looks like in my wine folders it was linking to my Z: drive which is the root directory. Once I deleted all the wine folders it works.


1

There is a proper location. There is a standard for proper filesystem structure. Its current version has been around for over a decade, which might be news to some Linux distros. The latest version of the Filesystem Hierarchy Standard is 2.3: http://www.pathname.com/fhs/pub/fhs-2.3.html There, under the "Purpose" section of var, it explains why that's a ...



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