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#
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?
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??
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?
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?
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.
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?
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 .. ?
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?
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
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:
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
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
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?
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
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:
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!
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.
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?
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?
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.