Am Mittwoch, 19. November 2014 10:32:37 UTC+1 schrieb Claas Müller:
> Am Dienstag, 18. November 2014 14:59:41 UTC+1 schrieb c mu:
> > Am Dienstag, 18. November 2014 14:03:12 UTC+1 schrieb c mu:
> > > Hi,
> > > is there anybody who has a script, that accelerating the system time?
> > > 
> > > My aim is, that I install a copy of my bareos setup in a debian VM 
> > > (virtual box) and let the system time run really fast, so I can see how 
> > > bareos is working with retentiontimes of volumes and if there is any 
> > > error in reasoning in my config.
> > > 
> > > thank you!
> > 
> > Found a solution!
> > VBoxManage setextradata "VM name" "VBoxInternal/TM/WarpDrivePercentage" 200
> > where 200 is the double speed.
> 
> 
> 
> 
> Okay.. its not the best way to simulate it. Anyone has any ideas to do 
> something better?



I wrote my own script to simulate 1year:

#!/bin/bash
month=1
day=1
while [  $month -lt 12 ]; do
        date --set 2014-$month-01

        while [  $day -lt 31 ]; do
                date --set 2014-$month-$day
                let day=day+1
                sleep 70
                done

        let month=month+1
        day=1
done


-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to