Fedora :: File Backups - With Suffix

Dec 1, 2009

As you know everywhere we create a new file ,immediately a backup file with suffix ~ will be created with it if we open the file , i deleted a file but always i have problem with its backup how can delete them with deleting the file?

View 7 Replies


ADVERTISEMENT

General :: Can Gunzip Work On File Without A Suffix

Jun 14, 2011

Is there a way to gunzip a file that isn't ending with a .zip even though I know for a fact the file is indeed a zip?

View 2 Replies View Related

Ubuntu :: Add Date Suffix To File Name During MySQL Dump?

Mar 17, 2010

I have a script (below) which works ok, but I have tried to modify it as I want to keep the older files for a restore if needed. I have tried adding a date suffix to the newly created files (second lump of code), but it doesn't seem to work.I get the error:

$SOURCEDIR/p1db_$DATEVAR.sql: ambiguous redirect

The working original script:

Code:
#!/bin/bash[code].....

View 1 Replies View Related

Fedora Networking :: Conf Files - Where To Put Country TLD Suffix?

Oct 31, 2009

I am trying to configure Fedora 11 Samba PDC with LDAP backend. All information on how to was obtained at http:[url].......The Howto is not complete. However, I have a real problem when configuring ldap.conf and slapd.conf as I will replace the domain acpng.org.pg with the examples. The problem is when entering the following:

URI ldap://127.0.0.1/
HOST linux-srv1.pqrst.org.nk
BASE dc=pqrst,dc=org # now here, do I put another dc=nk for the

View 4 Replies View Related

Fedora Installation :: Getting G95 From G95.org - Error: Suffix Or Operands Invalid For `push'

Apr 16, 2009

i followed the install method in the g95.org as follows.Installation Notes Unix (Linux/OSX/Solaris/Irix/etc.): Open a console, and go to the directory in which you want to install g95. To download and install g95, run the following commands:

wget -O - http://ftp.g95.org/g95-x86-linux.tgz | tar xvfz -

ln -s $PWD/g95-install/bin/i686-pc-linux-gnu-g95 /usr/bin/g95

everything seemed to work fine. the g95 command in terminal prompted a "no input files" so it seemed to work. i made a quick hello program to test and i get these errors.

/tmp/cc3Ugii1.s: Assembler messages:

/tmp/cc3Ugii1.s:11: Error: suffix or operands invalid for `push'

tested the program with gfortran and it worked fine. i googled around a little and it appears that the error have something to do with a 64 bit 32bit problem. i mean like the compiler is expecting 64 bit, but libraries are 32 bit. or somthing like that.

View 1 Replies View Related

CentOS 5 :: Scheduled Unattended Backups With Alerts If The Backups Fail

Feb 3, 2011

I've been a DOS/Windows guy for 20 years, and recently became a SW test lab helper. My company uses CentOS for a lot, so I've become familiar with it, but obviously not as comfortable as I am with Windows.

Here's what I have planned:

machine: Core 2 Duo E8400, 8GB DDR2, 60GB SSD OS drive, ATI 4650 video card, other storage is flexible (I have 3 1TB drives and 4 750GB drives around that can be used in this machine.)

uses: HTPC, Network Storage, VMWare server host: SMTP, FTP server, and Web server virtual machines

I've figured out how to do much of this, but I haven't figured out how to do backups in Linux. I've been spoiled with Windows, with the built in backup system so simple to use. I find myself overwhelmed with the array of backup software, and unable to determine which to use. none of them seem to do everything I need them to do, but some come close, I think. I'm hoping someone here can help me out in figuring out which program to use and how to use it.

Here is what I need the backup software to do:
1. scheduled unattended backups, with alerts if the backups fail
2. a weekly full backup with incremental every 12 hours
3. removing the old backups when the new full backup runs, I would prefer to keep 2 weeks of backups, but that's not necessary
4. a GUI would be preferable, since my arthritic fingers don't always do as I want them to do. I typo things a lot, and the label worn off my backspace can attest to that.

View 7 Replies View Related

General :: Rsync Incremental Backups Rather Than Full Backups?

Nov 12, 2009

How do you get Rsync to do incremental backups rather than full backups? At the moment I have a script that will create a backup folder (if it doesnt already exist) then copy the source files into the backup directory with the command

rsync $VERBOSE --exclude=$TARGET/ $EXCLUDE --exclude '/Ls-wtgl1c8/**' -rt --delete $source/ $TARGET/$source/ >> $LOG_FILE

Target is where the files will be backed up to Sources is the dir(s) to be backed up Exclude files is the list of files not to backup
log file is where the output will be saved to. At the moment it only does full backups, but I would only like to do incremental, how would this be achieved? Am I missing out an option in the Rsync that is required.

View 9 Replies View Related

Ubuntu :: Getting The File System For Backups?

Nov 25, 2010

I'm having some trouble to find a file system that allows me to backup my data to an external HD, and then access this data in other Linux (and sometimes windows and mac) machines.

The file system that I'm looking for must:

- have no user permissions: anyone can do anything with the data;

- have support to large files: I've used FAT for a while but it just sucks;

- maybe support access in windows and or mac with additional drivers;

- have journaling (or something of the sorts) to reduce the risk of data loss.

View 8 Replies View Related

Debian :: File Integrity For Backups Of Home Data ?

Nov 17, 2010

I'm currently backupping our home data (pictures, videos, our CDs ripped to FLAC which I spent a lot of time to tag accurately ), totalling almost 300 Gb, on 2 external USB drives, one of which is meant to stay at a friend's. I left the factory msdos filesystem as it was, thinking it could be useful to be able to connect the drives to a windows machine with no problems. It's certainly useful to have «normal» data that I can take with me e.g. when visiting my family.

I'm simply using rsync manually, checking for suspicious changed or deleted file before commiting the change. I do that every 2 weeks or so.

Now I want to add a file integrity management to my backupping scheme: I want to be able to check that new data I'll be committing has not been tampered with (integrity check before updating tags on my main drive), and I want to be able to check that backupped data is still sane on my USB drives, especially if I need to recover from data corruption on my main drive.

Since I'm essentially mirroring the data, I thought run of the mill integrity software would let me just rsync the integrity database, and I'm done.

But after browsing through the docs of tripware, afick and the like, I fear they work only with absolute paths, so the database for my main drive wouldn't work for my USB drive, that's mounted elsewhere when I plug it in, obviously.

So, I feel I'm missing something. It looks to me I'm trying to solve a very common problem, how do people do it?

Did I miss a file integrity software that works with backups?

Is there a trick like using a symbolic link pointing to whatever file hierarchy I want to check, and have tripware/afick/... monitor that link?

Should I run a more elaborate backupping system than plain rsync? Which one? (Storebackup for instance looks promising since it involves md5 sums, but it's targetting a completely different problem, and I'm not sure I can use it at all for what I need.)

View 3 Replies View Related

Red Hat :: Count How Many Backups Are Successful/failed Based On The File

Jun 28, 2010

I just wanted to count how many backups are successful/failed based on the file. My file look like following..Quote:

# Directory Backup was successful on server1
# Directory Backup was successful on server2
# Directory Backup was failed on server3

[code]....

View 4 Replies View Related

Server :: Setup House Mostly (for The First Time) For Backups And File Sharing?

Jan 28, 2011

**Edit: path for mount was incorrect Distro Server: CentOS 5.5

Clients:
Fedora(latest)
OSX(latest)

Backround I am attempting to setup a server in my house mostly(for the first time) for backups and file sharing. It is important to me that file permissions are preserved. So its my understanding that I must use idmapd in order for this to work. As of now I'm only working with the linux distros while osx will be dealt with once these two work together. portmapper is up and running, along with lockd on both machines. Firewalls are also down on both machines for now. The server side was all setup using the GUI interface with no extra options selected. Problem When attempting to "mount -t nfs4 10.0.0.2/$sharedfolder /mnt" I get an error operation not permitted with no error printing in /var/log/message. If I use "mount -t -o nolock nfs4 10.0.0.2/$sharedfolder /mnt" it mounts just fine. Ive checked both machines multiple times to make sure that lockd is up and running. In the idmapd.conf file I the domain as "localdomain" for both machines but I doubt that is right; like I stated above this is my first attempt at a server. I'm assuming the problem is a whole missing step that involves some kind of id mapping server I need to setup.

View 5 Replies View Related

Ubuntu Security :: Rsync Automated Backups Of Entire File Structure Over Ssh?

May 16, 2011

I am in the process of writing an rsync script to run unattended backups of my entire file system to another system located on my local network using ssh and password-less rsa keys.

I will absolutely will not use password-less keys with the root account and this is the limitation preventing me from accomplishing my goal because root is required by rsync to access the / tree and copy it to another location. I decided that if I compiled the script into a binary that I didn't have a problem with the password being contained within the binary itself but from what I've read there is no way to elevate to root and then back down to user level from within the script/binary.

I can create the script as the user and use chroot to make it owned by root but retain execution permission for the user but it will still cause the ssh login to be under root and therefore require either that I am there to enter my password or the use of password-less keys under the root account which I reiterate I will NOT do. Currently the script is executed by the user on the machine containing the files to be backed up.

View 9 Replies View Related

General :: Can Switching File Systems Affect Email Backups And Other Data?

Nov 27, 2010

A while back I installed Dreamlinux 3.5 Gnome edition using ext2. When I attempted to use the email address books I imported from the Dreamlinux3.5 XFCE edition, which had been ext3, I discovered that none of the email addresses could be mailed to. I had to manually type in the addresses.

When I reinstalled Dreamlinux 3.5 Gnome using ext3, the same backup files that did not work in ext2 now work just fine. The question is, was this a "broken data" problem caused by the switch to ext2 file system or something else? Has anyone else experienced this?

The mail program is Thunderbird.

View 2 Replies View Related

Security :: Secure And Automated Backups - Add Public Key To Authorized_hosts File On Prod Server?

Mar 13, 2010

I'm trying to find a secure way to backup files on my Prod Server to Backup Server. It must be automated, so I will need to run a command with cron which will login to Prod Server from Backup Server and backup data. 1. Do you think it would be secure enough to do this by creating an passwordless RSA private key on Backup Server and adding it's public key to authorized_hosts file on Prod Server? I can't think of a way to Automate this without having to enter any passwords without passwordless RSA key. Is there another. more secure way? 2. Should I create a special user for backup, which will only have read access to all files in the directory that I am backing up? If so, How can I run a check that this new backup user indeed has read access to ALL files in the folder that I intent to back up? How can I ensure the backup process will not skip files due to some permission problem? 3. I'm thinking of using rsnapshot tool, which uses rsync.

View 10 Replies View Related

Ubuntu Networking :: Create File Sharing Between MacBook Pro And Lucid Box For Time Machine Backups?

Mar 19, 2011

I've been trying to create file sharing between my MacBook Pro and my Lucid Lynx box for time machine backups and media server purposes. I followed this guide:[URL]..Everything seems to work with these exceptions: I can see my LucidLynx box in my finder app in my Mac but only when I run these commands from Ubuntu:

Code:
sudo /etc/init.d/netatalk restart
sudo restart avahi-daemon

If I restart my LucidLynx box then I can't see anything in finder. I can't log into my LucidLynx box from finder. I don't get a bad username or password error it just tells me the connection failed. *Note if I do enter an incorrect username or password it WILL tell me it's incorrect. I've looked at this link below since some people have used it in theses forums but it's a bit dated[URL]..

View 2 Replies View Related

OpenSUSE Install :: What Does Kernel Suffix Mean

Dec 19, 2009

what does kernel suffix mean?After OS installation and supplementary product installation I am discovering a set of boot alternatives and corresponding kernel versions. They have different suffixes: -pae, -default, -trace.

It appears that kernel *-pae is booting normally,while kernel *-default hungs in the middle of booting process being unable to discover certain disk or partition.Some products also have similar suffixes: -pae, -trace,-default. What does it mean? Shall I keep kernels that do not boot?

View 1 Replies View Related

Fedora :: Corrupt FF And Image Backups F10

Oct 19, 2009

I was doing some downloads of ISO's to burn & try on another machine. I went to use FF & it wouldn't open. I thought what the heck, I just use it. So in the process of checking I ran it in a terminal & got this error:
Code:
/usr/lib/firefox-3.0.14/run-mozilla.sh: line 131: 2740 Segmentation fault "$prog" ${1+"$@"}

Plus my lvm's were giving me fits so I ran "touch /forcefsck" & it found a bunch of crossed files. In the process of "fixing" I believe that my backup images may have been in that crossed mess as all the 1 of 2 files are "zeroK" files now. I think I have the lvm fixed (for now, as that piece of junk acts up every whipstitch) so how do I get my FF working again?

I tried a "reinstall" with no luck. I found out I have a bigger problem as well. It seems that the "zeroK" file thing got my backups I need to restore my machine to do my homework under my XP & such. Is there a way to recover these files (that I don't know of) or am I screwed like I think? - needless to say, if I have to rebuilt the F10, there won't be any of that LVM junk!

View 3 Replies View Related

Red Hat / Fedora :: Regular Data Backups What To Use

Jul 1, 2010

So basically I have 6x 1TB drives in a Linux raid 5, and I have 2x 1.5TB drives running standalone and 1x 2TB drive.I want to backup weekly, data from the Raid 5 array to these independent disks. I configured 3 directories, one for each disk.

data1 => 2TB drive with 1.1TB of valuable data
data2 => First 1.5TB drive 430GB of tech tools and Linux ISO
data3 => Second 1.5TB 46GB of Misc items.

[code]....

View 2 Replies View Related

Ubuntu :: Rename - Add Suffix Or Prefix In All Files (.txt - .avi . - .exe) From A Folder

Feb 24, 2010

I want to add suffix or prefix in all files (.txt , .avi . , .exe)from a folder

View 9 Replies View Related

Ubuntu ::Way To Use .local Dns Suffix For Both Linux And Windows Machines With Dhcp

Dec 26, 2010

I was setting up a new Linux box and router today and when I was looking to see if my custom DNS servers were being handed off in DHCP to my Ubuntu box I realized that the isp was shoving down onto my machines their dns suffix. Since I have configured my dhcp scope in the router to hand out a local dns suffix I am not sure why my suffix is not being used. Is there a way to use the .local dns suffix for both my linux and windows machines with dhcp instead of having to manually set the suffix?

View 3 Replies View Related

Fedora :: Script To Automate Backups - Storing Copy In Root Directory

Feb 4, 2010

Making a script. This is for my linux class. Basically when you run it, whatever directory it is in, zips everything, backs it up to the folder its in, and also makes a copy of it in the root directory. Here is what I have, but its not running right.

Code:
#!/bin/bash
echo
echo
echo "Automate Backups"
echo -n "Would you like to backup? Y or N:"
read answer1
if [$answer1 = "y"]
then
if [$USER = "root"]
then
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` /"$USER"/*
cp "$USER"_backup.tar.gz.`date +%F` /backups/"$USER"_backup.tar.gz.`date +%F`
echo "Successful Backup"
fi
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` ~/"$USER"/*
cp "root"_backup.tar.gz.`date +%F` /backups/"$root"_backup.tar.gz.`date +%F`
echo "Successful Backup"

View 14 Replies View Related

Software :: File Archiving Software - For Backups ?

Jul 29, 2010

I'm looking for ... or will develop if I cannot find any ... software that can keep archives of a tree of files. The tree of files is on a computer dedicated to backups. Various servers and desktop users periodically run rsync to update their slice of that tree of files. But that means old files are replaced. What I want to do is keep the old files around, with some limitations (such as a finite number of versions, finite age, etc). This would be similar to a repository like Subversion, except that data only comes in (there are no checkouts, though obviously a restore mechanism is needed). It would be like rolling backups, except the "rollover" would be on a per-file basis.

What I currently do, but want to get away from, is making a hardlink replica tree every few days with a command like "cp -al synctree/. archtree-for-today". But that eats up inodes very rapidly and is much harder to find things in. Making a file listing is very much slower this way, too.

View 3 Replies View Related

General :: Copy By Script Or Command Files With *.v Suffix By "-p" Option?

Apr 11, 2010

how can i copy by script or command files with *.v suffix by "-p" option?

Example:

kuku.ggg
kuku.dd
kuku.v
kuku.vb

only if i try to copy kuku.v by default cp -p will done.

View 7 Replies View Related

Ubuntu :: DVD / Can't Read Backups?

Nov 17, 2010

I backed my photographs with K3B in Suse, prior to installing Ubuntu. Now I can't access them. Well I can but not with Ubuntu or Windows 7. Suse (KDE) on the family computer reads them with no problem?? I'm confused. Is there something that KDE has that Debian doesn't. there's nothing wrong with my system exept for this. Reads cd's and dvd's.

View 2 Replies View Related

Server :: Cron Job That Does The Backups?

Mar 21, 2010

I have a crontab related question which I am hoping someone can answer. I recently took over a Redhat Enterprise 5 Server, and I was told by the previous Server Admin that there is a cron job that does the backups. I ran the following command to get a list of all users:

Code:
cat /etc/passwd | grep "/home" |cut -d: -f1

I then ran the following command for each of those users to see if they have any crontabs associated with them:

Code:
crontab -u USER -l

It doesn't show any crontab entries for any users (including root). But I am positive that there is a scheduled job somewhere because the backups are still running every night.

View 6 Replies View Related

Server :: Use FileSystem For Backups?

Jul 8, 2010

With so many filesystems available which one should I use to make backups? All I care about is reliability and stability. I don't care at all about portability.

View 8 Replies View Related

General :: Automate Backups Over SSH On A Desktop?

Jun 7, 2011

I currently have a setup which allows me to connect to all computers on my home network via SSH and RSA keys. I'm very security-conscious, so all of my keys are passphrase protected. I'd like to essentially set something up where I'm running Unison on a cron job to back up to a file server on my network, which we'll call timmy. I've noticed that the first time I try to use a key on my Ubuntu laptop teeks, I get a dialog which pops up asking me to type in my key passphrase. I've heard that for servers needing to make automated backups like this that one should use ssh-agent to ask for the key passphrase on login/server start. How can I set this up on teeks?

I'd essentially like to have the following happen:When I boot and come into the OS, prompt visually for the passphrase as is done when I first use a key.If I SSH into this computer (as it's internet-facing) and I haven't provided the SSH passphrase yet, then prompt for it. (Sometimes, I might need to remotely reboot the machine over SSH, so I'll be SSH'ing into it after it reboots and I'd like to be able to authenticate the key without having to VNC in and do it manually.)

View 2 Replies View Related

Ubuntu :: Best Fylesystem To Store Backups?

Mar 17, 2010

What will it be? I will use Clonezilla as the backup software, but I want to be able to see the backups from both Linux and windows.

Is fat32 an option? I have very large files(game isos and stuff like that)

If fat32 isn't an option, what filesystem should I use?

I read this thread but it doesnt mention the software to use and I assume we wants only to be able to see it in Linux.

View 7 Replies View Related

Ubuntu :: Way To Have Automated System Backups?

Apr 23, 2010

What would be the best way to have automated system backups? I'm trying to get it so my Xubuntu box automatically backs up the entire system including user settings on regular intervals, what would be the best way to do it? I have 2 hard drives with one that I do not use that I'd like to backup to.

View 2 Replies View Related

Ubuntu :: What Can Use For Backups That Is Faster Then Rsync?

May 9, 2010

I am currently backing up my data but find that it takes way to long to do a rsync, it takes forever to just find the differences and transfer them.Out of 3 separate rsyncs the main one that is slow is my www.skins.be mirror directory which is 41GB and has 392,200 files, sorted into multiple directories. Which grows by around 100 every couple days.I think that something that would be able to track changes by inotify time on directories will speed it up since Picasa sure finds the changes fast when I open it and it is tracking over 26,200 pictures. I just don't know of a backup solution that does that.

View 4 Replies View Related







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