This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#requires -Version 3.0 | |
<# | |
.SYNOPSIS | |
My Veeam Report is a flexible reporting script for Veeam Backup and | |
Replication. | |
.DESCRIPTION | |
My Veeam Report is a flexible reporting script for Veeam Backup and | |
Replication. This report can be customized to report on Backup, Replication, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# repartition des sauvegardes | |
# on conserve 1/jour 1/semaine 1/mois | |
WEEK=$( date +%Y-%m-%d --date='now -7 day' ) | |
WEEK_S=$( date -d"$WEEK" '+%s') | |
for file in $(ls save/week ) | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Déplacement et suppression de fichiers à partir de données provenant d'une BDD | |
*/ | |
$dirSource = '/home/www/source/'; | |
$dirDest = '/home/www/dest/'; |