Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Linux operating system (OS), a U...  <--  <--- Return to Home Page
   Networked Database  Linux operating system (OS), a U...   [791 / 900] RSS
 From   To   Subject   Date/Time 
Message   mark lewis    Paul Quinn   mirdir utility   March 22, 2019
 11:13 AM *  

 On 2019 Mar 22 09:05:12, you wrote to me:

 ml>> interestng... rsync has/does the same... i use it to backup my
 ml>> systems here as well as backing up several multi-gigabyte git and svn
 ml>> repositories... there's only one copy, though, so no chance to go
 ml>> back further than the copy currently in place... plus it is a copy,
 ml>> not an archive of files backed up...

 PQ> It's the same outcome: a single generation.  OTOH the clensing
 PQ> function on the target is useful, to ensure an exact mirror of the
 PQ> source.  I don't recall rsync doing that[shrug]?

here's an example from one of our regularly used update scripts...

  rsync -av --delete $RTYPE.code.sf.net::p/$PROJECT/$REPO .

in this case:
  -a is archive
  -v is verbose
  --delete removes unknown files from the dest directory
  $RTYPE is either git or svn
  $PROJECT is the name of the project
  $REPO is the name of the repository being synced

 PQ> They do the same job: Left or Right hand sort of thing.  I found
 PQ> mirdir first, and have found the logfile(s) most informative.

those log files are handy, that's for sure... i have my scripts written from a
template i hacked together over time... they log everything from stdout and
stderr into a specified log file... the log files are rotated to a max of 10
logs... the current one and the 9 previous ones... a different template doesn't
 do rotation of the logs but they are time stamped in their file names...

  eg: 20190322-foobar.log
      201903221800-fubar.log

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... All ties go to the train!
---
 * Origin:  (1:3634/12.73)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Linux operating system (OS), a U...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0767 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_qn67b2sr896jh1gnuvs75a4c70, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_qn67b2sr896jh1gnuvs75a4c70, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_qn67b2sr896jh1gnuvs75a4c70, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0