Ubuntu :: What Directories To *not* Back Up ?

Apr 8, 2011

I back up using a small rsync script. I've tried other methods but just keep coming back to it.

I have enough space that I can back up the entire root file system, but for speed and economy there are certain folders I'm not backing up. I understand some are dynamically generated on boot, others are caches.

Anything else I should exclude? How about APT's cache? /var? Any other caches?

View 3 Replies


General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

Ubuntu Installation :: Back Up Directories ?

Jan 19, 2010

Is it possible to just tar /home, /opt, and a couple other directories, and then save them on some medium, so that when doing a fresh install, I could just extract the folders from the tar file and keep my information?

I don't plan on doing daily/weekly backups, but I want a copy of some folders so that I can keep as many of my settings as possible in case I need to do a fresh install.

I also don't have the ability to create another partition on my hard drive to be able to put /home on it.. but yes, I looked into that route, as well.

View 8 Replies View Related

General :: Back Up Scrip - Find / Cp / Md5sum / Rm - Move All Files And Directories

Oct 22, 2010

I want to move all files and directories that are 1 month old out to back up into a separate folder. There will be a lot of files and I want to make sure it copies properly. The problem I'm having is integrating a MD5SUM into it to check integrity. MD5SUM is not recursive, so I figured it would work in a loop when it copies each individual file, I'll do a md5sum on each file and delete that md5 once its verified it copied ok.


I also need some sort of error handling to output all md5's that didnt pass the hash check.

View 3 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.

for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files

like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!

View 7 Replies View Related

Red Hat / Fedora :: Restrict Users To Their Home Directories And Allow Admins To Have Different Home Directories?

Jan 20, 2010

Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.

So far I have created:


View 1 Replies View Related

Ubuntu :: Get Volume Applet Back Onto Taskbar 10.04 Back?

May 7, 2010

I managed to delete the Volume Applet that appears by default on the task bar. I'm sure it used to be listed in 'Add to Panel' in other version of Ubuntu however I can't see it there in 10.04.
Can someone explain to me how I get it back?

View 4 Replies View Related

OpenSUSE Install :: Hybernate Doesn't Work - Goes Black - Back To User Icon Screen To Log Back

Sep 1, 2011

i have noticed that if vista is not the active partition, hybernate does not work. it just goes black and then back to the user icon screen to log back in. another "slight" problem was that i was not able to apply a service pack. after restoring vistas dominance i was able to install the pack. is there any other work arounds for hybernate? even though you might not be interested in cleaning up after microsoft.

View 1 Replies View Related

Ubuntu :: Back Up Time Machine Back Ups From A Mac?

May 17, 2010

it was possible to back up time machine back ups from a mac in ubuntu.

I use a mac at work and use time machine to back up to an external hard drive which i take home each day. I wish to back up the time machine back ups off the external hard drive each day to my computer at home just to be safe is this possible?

I have managed to open the hard drive and have enabled view hidden files so i can see all the files but i am unable to copy them due to permission errors

View 1 Replies View Related

General :: Back The Files Used Since Last Back Up?

Oct 24, 2010

I,m using Ubuntu 10.10 with Gimp. Ive got a lot of photos etc and need to back these up. Can I anyone suggest a good backup solution which does not require e to keep copying the same files? IE: Once the files are backed up I only want to back the files used since last back up?

View 11 Replies View Related

Ubuntu :: Wrong Locale \ Go Back To English, The Locale Doesn't Change Back, Only The Menus Are In English?

Mar 5, 2011

I recently installed language packs for Japanese and changed my system language to it, too. The problem is, now that I try to go back to English, the locale doesn't change back, only the menus are in english. "Apply system wide" in the Language Support didn't do anything; Firefox is in japanese too. Here is my locale output:



View 1 Replies View Related

Ubuntu One :: Way To Ignore Whole Directories

Sep 25, 2010

is there any way to ignore whole directories in Ubuntu-One? I figured out that you can use /etc/ xdg/ ubuntuone/syncdaemon.conf to ignore files by adding a regex to ignore.default, but I assume this only applies to files. So, how can I avoid the syncing of some subdirectories of my synced folders? I guess I could use symlinks as a workaround, because I read somewhere that Ubuntu-One wouldn't follow them.

View 1 Replies View Related

Ubuntu :: Rm Directories Only - Not Files - When Doing Rm -r Foo*

Feb 28, 2011

How do I delete just directories and not files when performing a "rm -r foo*" command? E.G. I have foobar.txt foofoo.o foorebar.jpg and foo/ foonuggets/ and footemp/ in a directory. In one fell swoop how do I delete just the directories and preserve the files?

Seeing as how I only use the -r switch when removing directories I accidentally ran this command and removed files that I wanted (luckily nothing vital). Lesson learned now I want to prevent ever doing that on files that *are* vital.

View 8 Replies View Related

Ubuntu :: String Of Directories To Remove?

Jan 1, 2010

I have a string of files named recup_dir.1 thru .66. I have the command sudo rm -r /home/"name"/Pictures/recup_dir.1 to remove them one at a time, how do I remove 20 or thirty at one command?

View 5 Replies View Related

Ubuntu :: Can't See Ext HDD Directories In Nautilus But Can In Terminal

Jan 9, 2010

I'm using an external USB Iomega Rev 70GB HDD. (Have been for a few years). It uses UDF format for higher transfer speeds of large files. (This is not an option, & not changeable), therefore natively recognised since 2.6.20, I think. (But no official Linux support).

Occasionally though, I run into problems such as can't format a disk in Linux, need to boot to Wins to do it. Also like today: So I have a bunch of comic pdfs & cbrs on it, mix of .rar files & folders. They were there yesterday. Today I went to read something and I couldn't see them. Thought maybe I'd deleted it by accident, but no. Looked at the drive in terminal and I can see the "missing" files and folders fine, but can't see them in Nautilus to open in Comix.

-Tried setting all permissions on the whole drive to R/W/E through Nautilus.

-Files & Folders aren't hidden.

-Tried rebooting.

-Tried using Administrator Nautilus.

-Thought it might be a re-emergence of the recent Nautilus Preview bug, so swiched File Preview off.

View 7 Replies View Related

Ubuntu Installation :: What Directories Can Be Shared

Mar 22, 2010

I have a shared /home between windows, Ubuntu and a couple of alternative Gnu/Linux installs.

Are there any other directories that can safely/easily share a partition?

Can I have my installed programs available to me in any distro if, for example, I share lib and usr and etc ?

View 1 Replies View Related

Ubuntu :: What Directories Can Safely Restore?

Jun 25, 2010

Just in case I have some kind of error (again) I am wondering what directories I could restore without causing a boot error or force me to play with configure files using a live disk on the next reboot.List of directories I could restore that I know won't cause a boot error.

View 3 Replies View Related

Ubuntu :: List Of Directories To Spreadsheet

Oct 23, 2010

I have a large music directory that I'd like to somehow acquire, or generate, a list of each sub-folder within it, and then somehow get the list into a spreadsheet format. Is there a way to do this?

View 1 Replies View Related

Ubuntu :: How To Batch Rename Directories

Dec 6, 2010

I have several folders:

Is there any command to batch rename these directories to:

View 2 Replies View Related

Ubuntu :: Tar Sub-directories To Individual Tars?

Dec 6, 2010

If i wanted to tar a directory into individual directories (but only one level) how would i go about it? example would be


would produce

dirC.tar etc

View 3 Replies View Related

Ubuntu :: Where To Find Ssh-mounted Directories

Dec 26, 2010

I go to places-acces server-ssh and connect to a remote server with Nautilus.All ok.But I prefer to use vifm as my main file manager: I try to find the ssh-mounted devices in /mnt or /media but cannot fin them.Does anybody know where they are?

View 2 Replies View Related

Ubuntu :: Should Sudo Be Able To 'read' All Directories?

Feb 15, 2011

I just installed sudo (I have slackware but always got better help here ) and I tried doing a

sudo du /
to see if I could get a general size estimate of all the directories and despite running it sudo I still was told "Cannot read directory" on some of the directories on my pc. should sudo have made it so I could read them all?

View 9 Replies View Related

Ubuntu :: Mirror Individual Directories?

Feb 24, 2011

I'm a newbie who has just installed Maverick on my old HP box and I have to say I'm hugely impressed. I have 2x 160Gb drives in the machine, is there a utility which will let me backup/mirror certain directories automatically, whilst still being able to utilise the remaining space on the second disk?

View 2 Replies View Related

Ubuntu :: Convert Recursevely Directories From Eps To Pdf?

Apr 10, 2011

I would like to convert all my eps files recursively in a directory tree to pdf. I am currently using the following script to convert all files of a single directory:

for i in *.eps;
do epstopdf "$i";

need to convert the whole directory tree, but the script above didn't work wit-R option

View 1 Replies View Related

Ubuntu :: Create A Directories That Always Stay On Top?

May 6, 2011

have been working how to do this for a while finally getting around to asking....

as a long time windows user I have used a trick of creating directories that will always be the first ones displayed by using an _foldername model, for ex:

A dir
B dir

assuming the four above are directories that is how they are sorted by default in windows and I commonly use this technique for special folders.

for my virtual machines folder in windows looks like this:


where I put base virtual machines in _base and it makes it easy to separate them for all the other folders which are virual machines....SO....

in Ubuntu, I cant figure out a character or way to ensure this type of behavior, for example if I create a _base folder it shows up after a dirs and around the bs etc...

any know a way to create a dir with a special char that will ensure it stays on top?

View 3 Replies View Related

Ubuntu :: Directories On A Dual Boot?

May 16, 2011

I was looking to start a dual boot and was inquiring to see if I can download files from the Windows 7 boot and direct it to the Ubuntu partition/home directory.

View 3 Replies View Related

Ubuntu Multimedia :: MPD Not Reading Directories

May 26, 2011

I'm trying to setup ncmpcpp correctly and I'm running into an issue with mpd not reading my directories correctly. I dual boot ubuntu/w7 on this computer, and for the sake of laziness I just keep all of my music within the default windows folder ( since half my music was there first ). Now I have a symlink within my home directory's music folder that points to this, however according to mpd it isn't a director.

View 2 Replies View Related

Ubuntu :: Chmod Ugo+rwx / Not Able To Access The Directories?

Dec 19, 2009

I have an external fat32 hard drive. It already has some files on it. Now, I mounted it and it shows the owner to be root. fine. but when I change the permissions, it does not seem to change it. I am not able able to access the directories, even as root !.I was able to create directories, but "luckybackup" wan not able to write to it due to permissions. I take it the lucky backup is executing as root/ but even otherwise, if I do chmod ugo+rwx, why do the permissions dont change ? (no erorr message by chmod).
here is the stuff: (ext drive mounted at /seagate)

rootubuntu--seagate# chmod ugo+rwx *
rootubuntu--seagate# ls -l
total 128
drwxr-xr-x 10 root root 32768 2008-08-11 21:03 HPComputerKeyFolders
drwxr-xr-x 9 root root 32768 2008-08-11 21:02 Other
drwxr-xr-x 2 root root 32768 2007-04-06 18:27 Recycled

View 3 Replies View Related

Ubuntu :: Moving Files Into Directories

May 12, 2010

I downloaded some backgrounds from Gnome Art and am having trouble moving them to the backgrounds folder. I've been trying this: sudo mv desktop <filename> usr/share/backgrounds.I moved to the desktop to make it easier.

View 1 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved