Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Advertisements:










General :: Write A Simple Backup Script To Backup A Single Folder Nd?


I am trying to create a backup script that will back up a single folder for a class i am in. I was wandering if I could get some help. If possible I would also like to know how to write a script that can encrypt that same file . I will be putting the back up in my /home/usr/Backup directory. I am not trying to back up my whole system just a single folder. I am using Fedora 11


View 2 Replies (Posted: 09-15-2009, 11:23 PM)

Sponsored Links:

Related Forum Messages For Linux category:
CentOS 5 :: Backup Script With TAR - Incremental Backup With Simple FTP To Another Location And Email Status
After I spent some time discovering The BIG BANG of Universe and The Meaning of Life :

I managed somehow to create a script to make some backup of files on server and TAR it and then FTP the archive to another location FTP server and then emails result.

It also measures time needed to complete it and deletes archive older than XX days (set in find -mtime +20) and makes incremental backup every weekday and FULL on Sundays (which suits me bcoz no heavy load).

Files for TAR to include and exclude are in txt files listed each line separate name:

file: including.txt:

Posted: 2010/1/15 23:50

View 7 Replies!   View Related
Ubuntu :: Unable To Delete Simple Backup Folder From Trash
I'm a beginner at backing up my Ubuntu system, but I've set Simple Backup to do a backup once a week. I deleted the oldest of these files, but now it's sitting in my Trash and I can't empty it. I get a permission denied error for the folders within the backup folder in the trash, yet I can't restore the folder either - Ubuntu says it 'failed to determine the original path' for the folder. I've just discovered this in Xubuntu Jaunty, but I'm confident the same will happen in any other WM I choose (I have several installed - I like variety ).

It's not a huge file, but it's hanging out there and I'd like to get it either deleted or restored. Possibly I oughtn't to have deleted it in the first place (it usually lives in /var/backup, which I can't access except as root). The files, which I probably deleted /as/ root, show up in my user trash rather than root's trash. I found the trash in ~/.local/share/Trash/files, but I'm not sure if just deleting them as root would be a good.

Posted: July 17th, 2010

View 1 Replies!   View Related
Ubuntu :: Real Time Backup In A Folder Called /home/backup?
I've tried to google but not much luck. What I would like to do is have anumber of folders on my desktop and their contents, replicated/duplicated into another folder on the same PC in real time. So for example, if I were to change an OpenOffice document in a specific folder on my Desktop it would be replicated/duplicated in real time. If I had three folders on my Desktop A, B and C they would also appear/be backed up (in real time) in a folder called /home/backup. Can this be done?

Posted: February 2nd, 2011

View 3 Replies!   View Related
General :: Windows 7 - Backup Several Computers To Single Computer In Network
I am currently trying to figure out what's the best way to backup several PCs (about 5 computers each with Windows 7) from my family.

As I want the same solution for all Computer - I set up my old computer (Windows 7) and added some hard drives and there should now be enough space to backup the data of everyone from my family via the network. (Lets call this computer "Server")

But now I am wondering whats the best way to do this? What I do not want:

I do not want to start the Server each time manually when a computer tries to backup. (I thought about using WakeOnLan.. but I do not know if this is a good idea) I do not want the Server to run permanently I do not want to make the backups manually they should backup about every week automatically.

So which Software on the Computers / or the "Server" would you recommend?

Or would you eve recommend me to use Linux on the Server? If so, which Software would you use then?

Posted: Apr 27 at 15:44

View 1 Replies!   View Related
General :: Mount Point For Backup Drive - Partition To Backup The Important Files On My Main HDD
I'm just setting up a partition on a seperate HDD in my system. I plan to use the partition to backup the important files on my main HDD (to guard against HD crash).

The question I have is about where would be the typical location to auto mount this partition? Which would it be normal to go for:

1. /backup/
2. /media/backup/
3. /mnt/backup/
4. /home/chris/backup/

Posted: 05-21-2011, 07:43 AM

View 7 Replies!   View Related
General :: File Is An Automated Backup Script, Backup.sh?
Can some one give me a sample of a crontab for backing a directory please, System is Ubuntu 9.04Quote:

#!/bin/bash
# this file is an automated backup script, backup.sh.
# this backs up my domain site.

[code]....

Posted: 09-13-2010, 08:31 PM

View 7 Replies!   View Related
Ubuntu :: How To Setup A Very Simple Backup
I have a second HD in my computer for doing a backup onto. All I want is to select a couple of my documents folders and have them copied to it daily. I would like it to add new files and update newly modified ones. I don't want it encrypted or archived, just a basic copy.

Posted: May 23rd, 2010

View 4 Replies!   View Related
Ubuntu :: Replacement For Simple Backup In 11.04?
I use Simple Backup to backup all my machines across my home network. I have just upgraded my test system to 11.04 with a clean install and want to restore all mt stuff from my backup, however, looking in the software centre Simple Backup no longer exists..

Posted: May 4th, 2011

View 5 Replies!   View Related
Ubuntu :: Simple Cron Job Backup ?
i am very sorry if this has been asked before... i'm sure it has.. but i have searched all over the net looking for an answer and i still cant find it...

I have a really simple cron job script like this:

When i run this manually it works fine but when i run it from my ROOT user in Plesk as a cron task is always creates a file that is just 45 bytes. Why doesn't it work... I am running it as a root user.. so surely i must have permission to access the file?

Posted: May 4th, 2010

View 7 Replies!   View Related
Ubuntu :: Setup A Simple Backup Cron Job
I'm trying to set up a simple backup script with cron.

In "crontab -e" (and sudo crontab-e - I tried both) I enter "0 22 * * * /home/USERNAME/.backup.sh", with the hope that it will run the script at 10pm each day. The srcipt work fine if I run in a terminal. why it won't work? It's bound to be something obvious....

Posted: June 10th, 2010

View 5 Replies!   View Related
Ubuntu :: Simple Backup Configuration Got Lost?
uBuntu 10.10, Simple Backup My backup stopped working at certain date. Went back in "Simple backup-Configuration", it says, there is no configuration. What might cause trouble like this? Should I seek for more secure back up tool?

Posted: June 3rd, 2011

View 2 Replies!   View Related
Ubuntu :: Simple Backup Goes <defunct>, How To Troubleshoot?
I installed Simple Backup Suite [URL] on this Karmic box last week and it ran fine the first time. Now it locks up shortly after I tell it to run a backup. ps shows

Code:

3273 ? 00:00:01 gksu
3274 ? 00:00:01 simple-backup-c
3279 ? 00:00:02 sbackupd <defunct>
3287 pts/0 00:00:00 ps

I re-installed the application, which didn't help.

Posted: April 22nd, 2010

View 5 Replies!   View Related
Red Hat / Fedora :: Simple Backup HD Including All Files?
I am somewhat new to Linux and I am looking for a way to back up my HD with all my Linux files. I have a Toshiba laptop running Windows 7. The HD has been partitioned so that the computer can run Red Hat Scientific Linux. Using Grub I can dual boot to either Windows 7 or Linux on start up. I want a simple way of backing up the entire contents of my HD (both partitions - everything) - so that in the event of my laptop being damaged I can reconstruct my set up and data as before with all my files and settings in both Windows 7 and Linux intact. Is there a simple program that will enable me to copy everything to an external HD for back up. Can anyone recommend a package that will do this?

Posted: 02-20-2010

View 5 Replies!   View Related
Ubuntu :: Simple Backup No Longer Works - Alternatives ?
Simple Backup no longer works. (Says backup is started in the background... then nothing) What are some good comparable alternatives?

Posted: August 14th, 2010

View 3 Replies!   View Related
Ubuntu :: Simple Backup Restore Doesn't Work
Here's what I want to do: Copy the whole Ubuntu 10.04 partition/installation from my old laptop to the new one.

What I tried: Used Simple backup to back up my Ubuntu installation to a USB hard drive. It yields a 10.4 gig folder containing 7 files. Installed 10.04 on the new laptop, used Synaptic to install Simple Backup, plugged in USB drive, started Simple Backup Restore, tagged the backup directory in Simple Backup Restore, and get the error:

Error: no backups found in the target directory.

I also tried copying the backup to the local drive, same difference.

Posted: May 16th, 2011

View 7 Replies!   View Related
OpenSUSE Network :: How To Cover A Simple LAN NFS Backup Server
how to that covers a simple LAN NFS backup server? One that I only boot to backup from three Linux-only boxes then turn off.

Posted: 26-Jan-2010 22:41

View 9 Replies!   View Related
General :: Script To Backup Up Shared Folder Home Folders
I am using rhel5 running as samba PDC.Most of the user save their data on a common folder on the server.Now I want to backup this data to some other location to have redundancy.It could be external USB HDD or other folder on the same server.How to create backup script and automate it using cron.

Posted: 05-11-2009

View 1 Replies!   View Related
Ubuntu :: 11.04 - Flash Drive Backup To Single Image
I'm running Ubuntu 11.04 and would like to know how to backup a whole flash drive to a single image.

Posted: June 9th, 2011

View 9 Replies!   View Related
Programming :: SVN Backup Script / Incremental Backup Take Place Everyday Placing Repository?
Can anyone help with this SVNbackup script.When I run this script the incremental backup take place everyday placing repository.000000-000001,repo.000000-000002 etc.which consumes more disk space.I want to have a script which will match the earlier dumped file and do differential backup (not repitition which will consume less space.

[code]...

Posted: 08-01-2007, 11:11 PM

View 49 Replies!   View Related
Slackware :: Complete Backup Solution Ike 'Acronis True Image Backup And Recovery
I have been looking for a complete backup solution like "Acronis True Image Backup and Recovery" on Windows for Slackware a while.

Posted: 06-12-2010, 11:09 AM

View 12 Replies!   View Related
Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?
using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner

Posted: May 18th, 2010

View 2 Replies!   View Related
Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving
I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.

[URL]

The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?

Posted: May 10th, 2011

View 1 Replies!   View Related
Ubuntu Servers :: Mysql-admin Won't Schedule Backup But Will Manual Backup
I have a scheduled backup to run on our server at work and since the 7/12/09 it has be making 592k files instead of 10Mb files, In mysql-admin (the GUI tool) I have a stored connection for the user 'backup', the user has select and lock rights on the databases being backed up. I have a backup profile called 'backup_regular' and in the third tab along its scheduled to backup at 2 in the morning every week day. If I look at one of the small backup files generated I see the following:

Code:

-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version`

[code]....

It seems that MySQL can open and write to the file fine, it just can't dump

Posted: January 19th, 2010

View 3 Replies!   View Related
Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory
This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:

# delete backups older than 7 days
find /mnt/backup/* -mtime +7 -exec rm -Rf {} ;

The problem is, every morning I get an email with an error message something like this:

find: `/mnt/backup/subfolder': No such file or directory

Posted: 2010-11-10 15:30

View 2 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved