search for: backup_files

Displaying 17 results from an estimated 17 matches for "backup_files".

Did you mean: backup_file
2004 Feb 25
5
Wide strings and LPCTSTR types
All, I was experimenting with converting LPCTSTR strings to wide strings with something like this: // Converts a Ruby string to a LPWSTR LPCTSTR AllocWideLString(VALUE rbString){ char* str = STR2CSTR(rbString); int length = (strlen(str)+1) * sizeof(WCHAR); LPCTSTR lpStr = (LPCTSTR)malloc(length); MultiByteToWideChar( CP_ACP, 0, str, strlen(str)+1,
2016 Jul 26
1
how to backup samba ad domain
...properly! The restore test it is OK for me! I scheduled via CRON and the backup takes one minute only to run *#!/bin/bash* *####################################* *#* *# Samba_AD backup script* *#* *####################################* *# Stop Samba* */etc/init.d/samba stop* *# What to backup* *backup_files="/etc/samba /var/lib/samba"* *# Where to backup to* *dest="/BACKUP"* *# Create archive filename* *day=$(date +%Y_%m_%d_%H%M)* *hostname=$(hostname -s)* *archive_file="$hostname-$day.tgz"* *# Backup the files using tar* *tar --acls --xattrs -czf $dest/$archive_file $...
2010 Aug 08
2
paperclip save to disk and s3
I have a standard Paperclip setup that saves a file to my disk. In addition I would also like the file saved to my amazon s3 bucket. [code] after_save :copy_to_s3 def copy_to_s3 has_attached_file :photo, :storage => :s3, :s3_credentials => "#{RAILS_ROOT}/config/s3.yml", :styles => { :thumb => "100x100#", :small => "750x750>"
2008 Jan 29
3
Dump on remote filesystems?
I have a couple C5 systems I want to back up. My plan is to, one way or another, back them up to a C5 machine in my office. I have samba installed on the systems to back up, the machines are mounted on the system in my office, and a tape library hanging of the system in my office. I was hoping to perform a simple /sbin/dump of the remote systems. I put together a script for another
2007 Mar 02
1
Off-topic: Howto decrypt OpenSSL file in Win32 environment
Hi all, I supose the subject is descriptive enough. In a CentOS server I do the next to make the daily backups: tar cfv - dir_data/ | openssl enc -e -salt -aes256 -pass pass:$PASSWORD -out backup_file.bin So I get an well-encrypted and tared file. If I want to decrypt and the file is easy in Unix/Linux environment: openssl enc -d -aes256 -in backup_file.bin | tar xfv - -C dir_what_you_want/
2009 Nov 19
2
rsync of STDIN to a file.
Hi, I am hoping that rsync may be able to improve an existing network backup I've got: tar czf - --files-from $FILE_LIST | ssh -i $AUTH -l $USER $HOST "cat > ${DEST}/${SOURCE}_${FILE}.tgz" You can see that this backup uses tar to create a single compressed archive and store it on a remote host using ssh. It occurred to me that it might be possible to use rsync. I'm hoping
2009 Jul 10
2
[PATCH: node 0/3] replace ovirt-identify-node with matahari
This patchset removes ovirt-identify-node and ovirt-listen awake. It adds startup script support for the matahari qmf agent, which takes over the responsibility for communicating node hardware capabilities to the ovirt-server. On the server side, host-browser has had its node identification functionality replaced by a new script, host-register, which is what interfaces with the matahari qmf agent
2009 Jul 08
1
[PATCH: ovirt-identify-node replacement 0/4] ovirt node patch to replace ovirt-identify-node with matahari qmf agent
The purpose of this patch is to add support for the matahari qmf agent package (http://git.et.redhat.com/?p=matahari.git;a=summary) to the node. The following actions are taken: 1. Deprecate ovirt-identify-node and ovirt-listen-awake by removing them from the autotools scripts, the rpm spec and the node startup scripts. 2. Remove ovirt-listen-awake and ovirt-identify-node completely. 3. Add
2005 May 19
3
patches
Hi all: The new providers file was not in the install.sh and shorewall.spec files Patches attached, are they in the correct format? Jerry -------------- next part -------------- --- shorewall-2.3.2test/shorewall.spec 2005-05-19 17:44:33.000000000 -0500 +++ shorewall-2.3.2/shorewall.spec 2005-05-19 09:16:52.000000000 -0500 @@ -96,6 +96,7 @@ %attr(0600,root,root) %config(noreplace)
2011 Sep 16
2
Cannot get the syntax of --include-from right
Here is part of my backup script: nice -n 15 rsync -avl --exclude=".*" \ --include-from="/home/bob/backup_includes" \ "$fromdir" "$todir" Here is the content of /home/bob/backup_includes /home/bob/.vimrc /home/bob/.gitconfig My problem is that neither the .vimrc nor .gitconfig are copied to the backup directory. I have read the man page about
2016 Jul 26
5
how to backup samba ad domain
Hai Kevin, I to have more dc's but same as what your saying.. > In general that's fine if all you care about is being able to recreate a > failed DC (after hardware failure or bad system update). It's no use in > protecting you against user/sysadmin error where you make large, but > unwanted changes to your directory (like accidentally deleting 200 users) > and you
2016 Dec 14
0
[PATCH v2 3/4] sysprep: Add a new operation to remove editor backup files (RHBZ#1401320).
Remove editor backup files such as *~ and *.bak wherever they occur within the guest filesystem. This also includes a test. --- sysprep/Makefile.am | 2 + sysprep/sysprep_operation_backup_files.ml | 98 +++++++++++++++++++++++++++++++ sysprep/test-virt-sysprep-backup-files.sh | 64 ++++++++++++++++++++ 3 files changed, 164 insertions(+) create mode 100644 sysprep/sysprep_operation_backup_files.ml create mode 100755 sysprep/test-virt-sysprep-backup-files.sh diff --git a/sysprep/Makefile...
2005 Apr 07
4
Shorewall 2.2.3
http://shorewall.net/pub/shorewall/2.2/shorewall-2.2.3 ftp://shorewall.net/pub/shorewall/2.2/shorewall-2.2.3 Problems Corrected: 1) If a zone is defined in /etc/shorewall/hosts using <interface>:!<network> in the HOSTS column then startup errors occur on "shorewall [re]start". 2) Previously, if "shorewall status" was run on a system whose kernel lacked
2016 Dec 14
4
[PATCH 0/4] sysprep: Remove various backup files.
https://bugzilla.redhat.com/show_bug.cgi?id=1401320 This series contains two new operations. The second -- and least controversial -- is "passwd-backups" which removes files such as /etc/passwd-, /etc/shadow- and so on. The first one ("backup-files") searches the whole guest filesystem for any regular file which looks like an editor backup file, such as "*~" and
2016 Dec 14
5
[PATCH v3 0/5] sysprep: Remove various backup files.
v3: - Split out test for "unix-like" guest OSes into separate commit. - Add guestfish --format=qcow2 to the test (x2). Rich.
2016 Dec 14
6
[PATCH v2 0/4] sysprep: Remove various backup files.
In v2: - The backup-files operation now operates on a conservative whitelist of filesystems, so it won't touch anything in /usr. Consequently it also runs much more quickly, about 4 seconds on the barebones virt-builder fedora-25 image. - Call Gc.compact () in visit_tests. - Added documentation to fnmatch.mli.
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
Putting these out for feedback and comments. These will eventually support the new newt/python based ui for installation/configuration storage.py functions will be moved under a class for better data portability before final version --- scripts/ovirtfunctions.py | 672 +++++++++++++++++++++++++++++++++++++++++++++ scripts/storage.py | 451 ++++++++++++++++++++++++++++++ 2 files