backup

Incremetal backups of directories with a batch/shell script

I'm trying to create a script that will automatically backup a complete directory tree. I also want it to work for incremental backups. Basically, it wil work like this: If file is in both source and destination and they are different, source file will be copied If file is in both source and destination and they are the same, nothing w...

iPad app documentsw folder

Is there a way to tell iTunes not to backup the contents of the apps documents folder? ...

Can I safely exclude sleepimage from OS X backups

Manually moved to SU: Can I safely exclude sleepimage from OS X backups I am using Chronosync to make a complete bootable backup of my OS X 10.6.4 machine to an external USB drive. It takes a LONG time (even incrementals) and part of the problem is the 8GB sleepimage. Can I safely exclude this from the backup? I realize that ...

What effect does rdiff-backup's --exclude option have on previous increments?

Using rdiff-backup, a reverse-incremental backup tool, if I use the --exclude option to exclude some files that were previously included in earlier increments (older backups), what effect will it have? ...

query for backup a database at another location in file system

BACKUP DATABASE <myDataBaseName> TO DISK = 'C:\PathtoBackup\FileName.bak' this query is worked for a database which is created in the gui of SQLServer express edition I have attached my database which is physically at D drive(D:\testing.mdf) to SQLServer using GUI in SQlServer Mgmt Studio.After attaching, SSMS displays the database na...

Why my Backup Batfile can't work for some workstation on network ?

I have to manage system after old administrator. I have a problem about backup batfile because all workstation on network can backup but have only one can't backup,don't have any file in folder that difference from another workstation. (i add batfile in scheduled task for run everyday) and I don't know why.I view code for get help ...

Use git "log" command in another folder

I have some php files in a Folder A (which is a git project). In these php file I want to execute "git log" but for the folder B. Folder B is another git project (so log is different between A and B). How I can do that with shell command ? ...

BackupManager & BackupAgent in Android 2.2

I've reviewed the docs and the sample BackupRestore app and written my own test app implementing android:backupAgent. I extended the BackupAgent class because my main concern is being able to backup data from a database. I can't seem to even make a simple proof-of-concept app work with this feature. To make things exceptionally simple...

SQL Server: how to query when the last transaction log backup has been taken?

I would like to query for all databases (in SQL Server 2008 instance) date when the last transaction log backup has been taken. How to do that? I know that this information is somewhere, but I don't know where. ...

How to do a backup from a Postgresql-DB via JDBC?

In our application, we've implemented an automatic DB migration triggered from within our code. Now we want to backup the existing DB before doing any migration. Can anyone explain how to do a full backup of a Postgresql-DB via JDBC from within Java code? Update: it doesn't work via JDBC. Here some working code to the response of Fra...

MongoDB backup plan

I want to switch from MySQL to MongoDB but great data losses (more than 1 hour) are not acceptable for me. I need to have 3 backup plans: Hourly backup plan. Data is flushed to disk every X minutes and if something wrong with the server I shall be sure that after reboot it will have all data at least for an hour ago. Can I configure i...

Restore svn without any backups

My windows desktop machine died the other day and i had a local svn server running. Is it possible to restore the repository just from the repo file structure alone? I know i should have been backing it up, but i didnt for what ever reason, as the code in it was mostly just playing about and experiments. If the repo cant be restored th...

bash find subfolder and backup

How could I read the content of a parent folder and if sub-folders are found, then make a tar.gz files of those subfolders found. However, I know that subfolders will have the following filename format: name-1.2.3 What I want is to create a tar.gz file that looks like: name-1.2.3-20100928.tar.gz Any help will be appreciated. ...

how i can take backup of file on UNIX-AIX ?

how i can take backup of file on UNIX-AIX ? ...

How to backup MySQL database on Windows ?

I have WampServer 2.0 that is installed on Windows on my laptop. I'm running on it an application that I wrote. The application is working with MySQL database. I would like to make backups of this database periodically. How this can be done ? How could I define cron on Windows ? ...

Granting privileges to ALL objects in a database - Postgres

Hi folks, I'm trying to backup my database with: pg_dump my_database > backup.sql unfortunately there are no privileges set for many objects in the database, therefore the command does not work! Furthermore this does not grant privileges as expected: GRANT ALL ON DATABASE my_database TO root Any ideas? ...

How to backup app programmatically on android

How to backup app programmatically on android? ...

MySQL Online Backup Method

I was looking around for the best method to do an online backup of MySQL stored data. I was no completely satisfied with the previous answers. Im not asking for a specific method for now, I asking which "road" do you consider best. Preferably it should be free and as easy as possible. Thank you very much. Ps: I hope this qualifies a...

backing up subversion repositories

Hello, CentOS 5.3 subversion 1.4.2 I forgot to add. Currently the total repository size is about 5GB, but that will grow over time. We have our source code and documents on our internal server running CentOS 5.3 and we are using subversion 1.4.2. We are looking for a backup strategy. We want to perform daily backups. We have about 30...

detect if something is modified in directory, and if so, backup - otherwise do nothing

I have a "Data" directory, that I rsync to a remote NAS periodically via a shell script. However, I'd like to make this more efficient. I'd like to detect if something has changed in "Data" before running rsync. This is so that I don't wake up the drives on the NAS unnecessarily. I was thinking of modifying the shell script to get the ...