Fedora :: Generic PHP CL Backup Script?

Jul 11, 2010

Here's a PHP5 script I wrote to do automated backups from my main hard drive, to a separate backup hard drive. I run it overnight using a cron job.I tried to write it so it is clonable and easily modified for making backups of your system. Please take it and modify it to suit your needs.This script will copy the contents of a directory to the backup drive. It creates a unique directory backup name, based on the current time. When there are more thanNUMBER_REQUIRED_BACKUPS in the backed-up directory $BACKUP_GROUPNAME, the oldest backup will be deleted. This allows you to keep n number of the latest backups. You will need to create the $BACKUP_GROUPNAME directory on the backup drive, so the script has somewhere to write the backed-up directories to.PHP Code:

#! /usr/bin/php<?php# lastupdated: Sun Jul 11 20:54:29 BST 2010# PHP script to backup the contents of /etc directory# to /backup/system/fedora/12/etc#

[cod]....

View 4 Replies


ADVERTISEMENT

Slackware :: Setting Up Initrd - Generic Kernel In Grub2 - Can't Load Generic

Jan 4, 2011

I am trying to figure out how to load the generic kernel in Grub2.

I have run the /usr/hare/mkinitrd/mkinitrd_command_generator.sh and ran the output:

Code:

Why this will not load.

View 10 Replies View Related

Fedora :: Backup From My Email And My Favorites From Mozilla - Which Folders To Backup

Aug 10, 2011

I want to make a backup from my Email and my Favorites from Mozilla.

But which folders I have to make a backup from.

View 3 Replies View Related

Fedora :: 3D Support Using Generic ATI V.11

Jul 5, 2009

I've heard back and forth about whether the generic ATI drivers in Fedora 11 provides functional 3d support...as of installing F11 (64) i was impressed by the initial capability of the generic drivers but no 3d support as Desktop Effects could not be enabled.( using ATI Radeon HD 2400 ) what are the usual tips and tricks to get 3d functionality in this environment?

View 14 Replies View Related

Ubuntu :: Generic And Generic-pae ?

Jul 2, 2010

I switched to the generic-pae kernal image, which works great, but update now wants to update both generic and generic-pae.

How can I set it up so that it only uses generic-pae?

If I try to deselect generic in synaptic it just wants to mark it again.

View 2 Replies View Related

Fedora :: Changing From I686-PAE To Generic?

May 2, 2010

i have F12 with kernel 2.6.32.11-99.fc12.i686.PAE. But i just have 2gb ram, so im not really needing to use a PAE kernel. So i was thinking on change my kernel to a 2.6.32 generic, but the fact is that im not sure if i can do that, and i could, how??

View 4 Replies View Related

Fedora :: Generic Kernel Build For Separate Box?

Apr 2, 2010

I'd like to compile a generic kernel for my netbook on my desktop. They are both F12 64bit. On my desktop can I do:

make xconfig
make
make modules_install

Then copy the folder to my netbook then:

make install? Is there a better way? I don't really want to make .rpms.

View 1 Replies View Related

Fedora :: Doesn't Live Cd Have A Basic - Generic (like A Vga 640 X 480) Driver

Sep 26, 2009

I just recently acquired a PII 333 w/ 160M ram (I know, grossly underpowered for anything by today's standards) but mostly wanted it for internet & to use for printer / scanner & camera stuff. So, while checking it out I tried a few live cd's on it (fedora 10 & a ham version of puppy linux) the puppy worked just fine but the fedora "puked" when it got to the GUI (I had this happen with F11 on another computer) The thing that confuses me is, doesn't fedora's live cd have a basic, generic (like a vga 640 x 480) driver that SHOULD work with any video card & monitor or am I missing something here?

View 6 Replies View Related

Fedora :: Printing With F12 - Printer Stops After Generic Error

Apr 28, 2010

I've recently decided to migrate the infrastructure in my workplace from ubuntu to fedora, every thing except the printers went perfectly. When I try to print as an user It just throws an generic error and stops, as a root it doesn't even show the error.

This is the debug log:
Code:
D [28/Apr/2010:04:22:03 +0200] cupsdSetBusyState: Dirty files
D [28/Apr/2010:04:22:03 +0200] cupsdReadClient: 12 POST / HTTP/1.1
D [28/Apr/2010:04:22:03 +0200] cupsdSetBusyState: Active clients and dirty files
D [28/Apr/2010:04:22:03 +0200] cupsdAuthorize: No authentication data provided.
D [28/Apr/2010:04:22:03 +0200] cupsdReadClient: 12 1.1 Get-Jobs 1
D [28/Apr/2010:04:22:03 +0200] Get-Jobs ipp://localhost/printers/ .....

It worked fine in debian and ubuntu, so we can assume that the drivers are ok, any ideas?

View 5 Replies View Related

Fedora :: Doubt In Syntax Of A Generic Make File?

Sep 15, 2010

I was learning to write a make file, I could understand most part of it of course with few exception I dint understand what does the below commands make(red font). I would like to understand what those syntax represent rather than mugging up without knowing what it means.

$(OBJECTS) :%.o :%.c
$(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@

clean:

rm -f *.o $(TARGET) core

View 1 Replies View Related

Fedora Hardware :: NVIDIA Generic 6 Series Drivers?

Sep 25, 2010

I've done my best to fix this but, after encountering numerous problems, it's become apparent that while I might be a pretty good Windows user, I don't know bugger all about Linux and evidently you need to be 1337 just to install drivers, but anyway...

I have a NVIDIA 6800 GT graphics card, old but still functioning properly. Fedora 13 didn't install any drivers automatically, so I went to the NVIDIA site to see if they supported their cards under Linux. They did... sort of. It seems they only provide a 'generic' Linux display driver for x86 architectures, which wasn't preferable but it was the best I was going to get, so I downloaded it. Their site provides a setup Readme, but I've run into countless problems and finally I've come up against one that it doesn't document.

First was the fact that I couldn't install it with X window running. I assume this is the base UI for Linux, so I rebooted into run level 3 and tried again, at which point it complained about a 'nouveau' process still running. I added the line rdblacklist=nouveau to my boot so that this wouldn't be enabled, but then it complains that my GCC is missing. So, I install the GNU Cross Compiler with the Fedora RPM manager, but now the setup complains that my 'kernel source tree' can't be found and asks me to install it - but what exactly is a kernel source tree anyway?

Log file outputs the following:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Sep 25 20:08:50 2010
installer version: 256.53
option status:

[Code]...

View 2 Replies View Related

Fedora :: Replaced /dev/dsp As The Default Generic Sound Device?

Sep 4, 2011

I have old app that by default is looking for /dev/dsp as an audio device. The source is configured as such and I want to change that so sound will work on current versions of Fedora.

What is the equivalent of /dev/dsp in F15 ?

I think /dev/dsp was the default generic sound device .. ?

View 8 Replies View Related

Fedora Hardware :: Configure Display: Sony TV / "generic PnP Monitor"?

May 16, 2010

I just installed fedora 12. during the installation, i used a different monitor (as when i used the one that i want to use with the system, not all of the page displayed - so i could not click on the buttons) . now it only works with the display that i temporarily connected.

i want to use the system with a sony tv via hdmi. the system dual boots, and the tv works with windows 7 (at 1280*720, 60Hz, "generic PnP monitor").

when i try to boot fedora with the TV as the display, the TV is showing stuff right up until the login screen appears (X starts, I guess). then the TV loses the input.

I can SSH into the system with the TV connected, or use it normally with a temporary monitor. I have no experience of successfully configuring HAL or X. how should I go about it?

View 7 Replies View Related

Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?

May 18, 2010

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

View 2 Replies View Related

Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving

May 10, 2011

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?

View 1 Replies View Related

Slackware :: Complete Backup Solution Ike 'Acronis True Image Backup And Recovery

Jun 12, 2010

I have been looking for a complete backup solution like "Acronis True Image Backup and Recovery" on Windows for Slackware a while.

View 12 Replies View Related

CentOS 5 :: Backup Script With TAR - Incremental Backup With Simple FTP To Another Location And Email Status

Jan 15, 2010

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:

View 7 Replies View Related

Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory

Nov 10, 2010

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

View 2 Replies View Related

Ubuntu Servers :: Mysql-admin Won't Schedule Backup But Will Manual Backup

Jan 19, 2010

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

View 3 Replies View Related

Ubuntu :: Real Time Backup In A Folder Called /home/backup?

Feb 2, 2011

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?

View 3 Replies View Related

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

Sep 15, 2009

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 View Related

General :: Mount Point For Backup Drive - Partition To Backup The Important Files On My Main HDD

May 21, 2011

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/

View 7 Replies View Related

Ubuntu :: Backup Software That Lets You Choose The Folders To Backup?

Jun 30, 2010

does anyone know of a good backup software for Ubuntu 10.4 that will let me select which folders to backup, rather than a complete backup? My install and settings etc can be replaced, but my photos and memories cannot!

View 6 Replies View Related

Ubuntu :: Backup The Entire Disk Using Some Popular Backup Tool?

Sep 1, 2011

I have installed Ubuntu 11.04 onto HP EliteBook 8540w notebook and would like to backup the entire disk using some popular backup tool.

I have searched in the internet and found the closest tool is PartImage. But the bad news is that it does not support ext4 fs!

View 5 Replies View Related

Software :: Backup A Few Servers And A Bunch Of Desktops Onto One Backup Server?

May 10, 2010

Does anyone know of any decent enterprise level backup solutions for Linux? I need to backup a few servers and a bunch of desktops onto one backup server. Using rsync/tar.gz won't cut it. I need like bi-monthly full HDD backups, and things such as that, with a nice GUI interface to add/remove systems from the backup list. I need basically something similar to CommVault or Veritas. Veritas I've used before but it has its issues, such as leaving 30GB cache files. CommVault, I have no idea how much it is, and if it supports backing up to a hard drive rather than tape.

View 7 Replies View Related

Debian :: Used Backup-manager - Restore The Backup Data?

Feb 4, 2011

I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?

View 4 Replies View Related

General :: File Is An Automated Backup Script, Backup.sh?

Sep 13, 2010

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

View 7 Replies View Related

Ubuntu :: Backup With Dejadup - Backup Only The Folders Or The OS As Well?

Jun 13, 2011

When I backup with Dejadup, does it backup only the folders or the OS as well?

In case of a real crash, can I bring back the system to its pre crash state including the OS, using Dejadup backed up files?

View 3 Replies View Related

Software :: Backup-manager.org (very Useful Backup Script)?

Jul 19, 2010

I have use backup-manager tool very often but now found some problems and goes to it official site backup-manager.org for search answers.But this site didn't open already more than week!
url
url
url

At now DNS records don't have A record:

Code:
$host backup-manager.org
backup-manager.org mail is handled by 10 private.sukria.net.
backup-manager.org mail is handled by 15 private.nxr.fr.
backup-manager.org mail is handled by 5 mx.sukria.net.
backup-manager.org mail is handled by 10 jupiter.unix-scripts.info.
Does this project moved, renamed or died?
Maybe it change the domain address?
Or this is only temporary problems with hosting or domain?

View 3 Replies View Related

Fedora :: Backup Of DVD Videos

Jan 4, 2009

This is a generic howto for using command-line tools for backing up your DVD home movies.First, make sure you have the rpmfusion repo installed.The above commands will create an exact duplicate of the video DVD. It will not shrink it or remaster the video files, so you will probably need dual-layer media if you want to burn your backup to disk.A more enterprising individual could very easily create a shell script to automate the process, but you get the picture.

View 3 Replies View Related







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