10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks ,
I am asking this question but i apologise please if this is not the correct forum ,
I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
2. UNIX for Dummies Questions & Answers
I am running subversion 1.6.6 on Ubuntu 10.04 (Lucid), Viewvc
1.0.9 and apache2 (2.2.14) and LDAP authentication.
I have multiple repositories on my SVN server and it all
working fine, however I am unable to set access control (permissions) using AuthzSVNAccessFile.
“SVNParentPath... (0 Replies)
Discussion started by: hassan1
0 Replies
3. Solaris
Hi,
I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7.
bash-3.00# ./svn --version
svn, version 1.7.4 (r1295709)
compiled Mar 2 2012, 12:59:36
Here my requirement is how to integrate svn client to One of the SVN server repository.
My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies
4. Shell Programming and Scripting
Hi,
I am a perl user.
I cannot check in files in my server. I have been provided with a svn_bin/svn file.
I have put that file in my home directory. I need to extract the file using some command but am not successfull in getting the command.
the command should be run so that i ll be able... (0 Replies)
Discussion started by: irudayaraj
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am trtying to install SVN server with Apache.
I have already configured apache with SVN modulesh and the same can be seen in the modules directory.
-rwxr-xr-x 1 root root 34740 Jul 3 13:43 mod_authz_svn.so
-rwxr-xr-x 1 root root 385133 Jul 3 13:43 mod_dav_svn.so
now the... (1 Reply)
Discussion started by: Siddheshk
1 Replies
6. Shell Programming and Scripting
Hi
Please help me with the following problem with my script.
The following block of code is not repeating in the while loop and exiting after searching for first message.
input_file
==========
host001-01
host001-02
2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies
7. UNIX for Advanced & Expert Users
hi all!
i'm trying to make ssh connection between COMP1 to any computer on my network and i get this error:
"Host key verification failed."
any computer can access COMP1 in ssh...
i have already deleted the "known_hosts" and "authorized_keys" files and created them again...
any1 have an... (1 Reply)
Discussion started by: eliraza6
1 Replies
8. UNIX for Advanced & Expert Users
Hi
I am using ssh and facing problem. When I execute a command which is my application specific it hangs after giving initial message.Program does not return to command prompt but process is completed in background.
e.g I run following command
$ dtsbackup... (4 Replies)
Discussion started by: shreedhar_tase
4 Replies
9. Shell Programming and Scripting
Hi Floks!
This is Sravan!
I am new to linux and I am trying to write bash shell script in which I want to change the user but the statements which are after the "su " command are not working that I mean I want to execute some statements as the changed user
here is the code
... (6 Replies)
Discussion started by: sravanp
6 Replies
10. UNIX for Advanced & Expert Users
Hi,
Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode:
warning: You have no controlling tty. Cannot read confirmation.^M
warning: Authentication failed.^M
Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies
svn-backup-dumps(1) General Commands Manual svn-backup-dumps(1)
NAME
svn-backup-dumps - Create dumpfiles to backup a subversion repository.
SYNOPSIS
svn-backup-dumps <repos> <dumpdir>
DESCRIPTION
svn-backup-dumps creates dumpfiles from a subversion repository. It is intended for use in cron jobs and post-commit hooks.
The basic modes of operation are:
o Create a full dump (revisions 0 to HEAD)
o Create incremental dump containing at most N revisions.
o Create incremental single-revision dumps (for use in post-commit).
Dumpfiles are named in the format basename.rev.svndmp or basename.rev.rev.svndmp, where basename is the repository directory name, and the
rev arguments are the first and last revision numbers represented in the dumpfile, zero-padded to 6 digits.
Optionally, svn-backup-dumps can compress dumpfiles with gzip or bzip2, and can transfer them to another host using FTP or SMB (using smb-
client).
OPTIONS
--version
Show program's version number and exit.
-h, --help
Show this help message and exit.
-b Compress the dump using bzip2.
--deltas
This is passed through to svnadmin dump.
-c count
Maximum number of revisions per dumpfile.
-o Overwrite files.
-O Overwrite all files.
-q Quiet.
-r rev Specify a single-revision dumpfile.
-t ftp:host:user:password:path
-t smb:share:user:password:path
Transfer dumps to another machine using the FTP or SMB protocols. path is where to store the dumpfiles on the remote server; any
occurrence of %r in the path is replaced by the repository name. Support for "smb:" requires the smbclient program.
-z Compress the dump using gzip.
EXAMPLES
To create a full dump of all revisions of a repository /srv/svn/foo in the directory /var/backup/svn:
svn-backup-dumps /srv/svn/foo /var/backup/svn
The dumpfile will be named src.000000-NNNNNN.svndmp.gz where NNNNNN is the head revision number.
To create incremental dumps containing at most 1000 revisions:
svn-backup-dumps --deltas -z -c 1000 /srv/svn/foo /var/backup/svn
If the youngest revision is 2923, it creates the following files:
foo.000000-000999.svndmp.gz
foo.001000-001999.svndmp.gz
foo.002000-002923.svndmp.gz
If run again, later, when the youngest revision is 3045, it creates these two files:
foo.002000-002999.svndmp.gz
foo.003000-003045.svndmp.gz
Note that it does not remove the redundant file foo.002000-002923.svndmp.gz.
To create incremental single-revision dumps from a post-commit hook:
svn-backup-dumps -r $rev $repos /var/backups/svn
where $rev and $repos are variables previously set in the post-commit script from its command line. The dumpfile name will be in the form
foo.000352.svndmp.
To send the dumpfiles to the SMB share \ERNESTBACKUPS in a directory svnfoo with user svnuser and password w0rth1ng:
svn-backup-dumps -t "smb://ERNEST/BACKUPS:svnuser:w0rth1ng:svn/%r /srv/svn/foo /tmp/tmpbackup
Note that the %r in the path is replaced by the repository name foo. Note also that a local backup directory is required, at present, even
when using the -t option.
AUTHOR
Voluntary contributions made by many individuals. Copyright (C) 2006 CollabNet.
2006-11-09 svn-backup-dumps(1)