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 | |
bk_date=`date "+%Y-%m-%d"` | |
mkdir "backups_"$bk_date | |
for vm_name in `virsh list --all | tail -n +3 | head -n -1 | awk '{print $2}'`; | |
do | |
echo "Realizando copia de las MVs" | |
echo -------Copia de seguridad de $vm_name -------- | |
virsh snapshot-create-as $vm_name "$vm_name"_"$bk_date" > /dev/null 2> /dev/null | |
if [ $? -eq 0 ] |
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 | |
path=/tmp/backups_jorge | |
#Modificar por el path del SAN u otra ruta de destino de las descargas | |
cd $path | |
bk_date=`date "+%Y-%m-%d"` | |
if [ -d "./$bk_date" ]; | |
then | |
echo "La carpeta de backup ya existe, procediendo a borrado" | |
rm -rf $bk_date | |
fi |
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
04-29 23:39:47.595 6854-8583/com.owncloud.android D/OwnCloudClient #107﹕ Creating OwnCloudClient | |
04-29 23:39:47.597 6854-8583/com.owncloud.android V/SimpleFactoryManager﹕ new client {Joriks@My-Server, 260229383} | |
04-29 23:39:47.624 6854-6854/com.owncloud.android I/Choreographer﹕ Skipped 33 frames! The application may be doing too much work on its main thread. | |
04-29 23:39:47.690 6854-8583/com.owncloud.android I/art﹕ Clamp target GC heap from 207MB to 192MB | |
04-29 23:39:47.690 6854-8583/com.owncloud.android I/art﹕ Alloc partial concurrent mark sweep GC freed 1556(174KB) AllocSpace objects, 9(144KB) LOS objects, 0% free, 191MB/192MB, paused 1.390ms total 81.053ms | |
04-29 23:39:47.695 6854-8583/com.owncloud.android I/art﹕ Alloc sticky concurrent mark sweep GC freed 0(0B) AllocSpace objects, 0(0B) LOS objects, 0% free, 191MB/192MB, paused 973us total 5.143ms | |
04-29 23:39:47.771 6854-8583/com.owncloud.android I/art﹕ Clamp target GC heap from 205MB to 192MB | |
04-29 23:39:47.771 6854-8583/com.ownclo |