doc:appunti:linux:sa:backup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:linux:sa:backup [2011/12/11 11:03] – [backup-manager] niccolo | doc:appunti:linux:sa:backup [2013/09/03 12:46] – [rdiff-backup] niccolo | ||
---|---|---|---|
Line 13: | Line 13: | ||
===== rdiff-backup ===== | ===== rdiff-backup ===== | ||
+ | |||
+ | FIXME **ATTENZIONE!** Pare che rdiff-backup soffra di un [[wpit> | ||
Si installa il pacchetto Debian **rdiff-backup**. Un primo script di backup di una **directory** verso un **host remoto** potrebbe essere questo: | Si installa il pacchetto Debian **rdiff-backup**. Un primo script di backup di una **directory** verso un **host remoto** potrebbe essere questo: | ||
Line 201: | Line 203: | ||
Vedere la soluzione basata su **[[https:// | Vedere la soluzione basata su **[[https:// | ||
- | Per abbinare rsync ad una connessione sicura si può usare il software | + | Per abbinare rsync ad una connessione sicura si può usare il **software |
+ | |||
+ | Rimane il problema di fare il backup dei locked files, le versioni di Windows da XP e 2003 offrono il servizio di **Volume Shadow Copy Service (VSS)** che dovrebbe risolvere il problema, ma è necessario che il software rsync sia compatibile con VSS. | ||
+ | |||
+ | Dovrebbe essere possibile usare [[http:// | ||
+ | |||
+ | In alternativa - a giudicare da questo [[http:// | ||
+ | |||
+ | ==== Winexe ==== | ||
+ | |||
+ | Esisten un pacchetto **wmi-client** [[http:// | ||
+ | |||
+ | In alternativa dal sito [[http:// | ||
+ | |||
+ | Ecco un esempio di come eseguire Notepad su Windows remoto, aprendo un file condiviso su network share: | ||
+ | |||
+ | < | ||
+ | winexe --interactive=1 --system \ | ||
+ | --user=Administrator%administrator // | ||
+ | ' | ||
+ | </ | ||
+ | |||
+ | Il comando funziona copiando e lanciando un eseguibile (**'' | ||
+ | |||
+ | Se il comando dovesse fallire con il messaggio di errore | ||
+ | |||
+ | < | ||
+ | ERROR: Failed to install service winexesvc - NT_STATUS_IMAGE_ALREADY_LOADED | ||
+ | </ | ||
+ | |||
+ | verificare se il parametro **'' | ||
+ | |||
+ | ==== Account Administrator e Windows 7 ==== | ||
+ | |||
+ | Pare che non sia possibile eseguire un processo **'' | ||
+ | |||
+ | Ad ogni modo, per eseguire il programma senza privilegi di amministratore (con Windows 7 l' | ||
+ | |||
+ | Per abilitare l' | ||
+ | ==== VSS ==== | ||
+ | |||
+ | Segue una descrizione dei pregi e difetti di VSS (tratta dal sito di [[http:// | ||
+ | |||
+ | //As we have already mentioned, this service allows backup of locked files, but both the back-up program and the program that locked the file must be VSS-compliant. This means that the application (e.g. the database application) whose files we want to back up must be dedicated for the Windows XP/2003 platform and use shadow copy mechanisms.// | ||
+ | |||
+ | //Another VSS limitation is that the backup application, | ||
+ | |||
+ | //Another inconvenience is that volume shadow copying requires adequate free disc space. This space is used to make volume snapshots. If there’s not enough free space on the disc, then backup of locked files will not be possible, either.// | ||
+ | |||
+ | * //The service is only available in Windows XP and Windows Server 2003// | ||
+ | * //The backup software and business software must be VSS-compliant// | ||
+ | * //The backup software, business software and the locked file must be on the same computer./// | ||
+ | * // |
doc/appunti/linux/sa/backup.txt · Last modified: 2013/09/03 12:46 by niccolo