@tom-elliott thank you
so really, i should run the command shown in the fog backup as its a better way
@tom-elliott thank you
so really, i should run the command shown in the fog backup as its a better way
hi all,
it says to run this command to backup the fog database
mysqldump --allow-keywords -x -v fog > fogbackup.sql
but looking elsewhere it says the way you backup databases is like so
mysqldump -u [username] -p[password] [database_name] > [backup_file_name].sql
so what do the options mean ie allow keywords and x and v
thanks,
rob
So @george1421 it’s OK to create /images/backup
Or no as my fog web ui images dir is /images
i did a rm -rf test, now when i look on the dashboard it has now got the right size
hi all,
im going to save all my backup configs to “/images” dir as my images dir is raid6 so its pretty safe as its 2 parity
is it ok to make a new dir in the images dir or is this a bad ideas as its really meant just for fog images
thanks,
rob
thanks @Tom-Elliott is it ok to ssh in and do a rm -rf on the test dir?
hi all,
when i delete an image from the web gui, when i ssh into my server and do a
ls /images
i still see it there so it doesnt look like when you delete it from the web gui images, it doesnt delete it on the server
i can do a
rm -rf /images/test
can anyone please tell me why this happens?
thanks,
rob
hi all,
if i use the fog backup script in link below
https://wiki.fogproject.org/wiki/index.php?title=Backing_up_FOG
does it backup all the dirs below or do i manually need to back them up
Original Installation Tar File
does it mean backing up the folder that git pulled via the “git clone” command
Web Directory
i take it, it means /var/www/html/fog
OPT Directory
Images Directory
i have raided this, so i persume if my pc fails i can take out the drives pop them in a new pc and in “fstab” just mount it to dir “/images”, do i then need to re run the install shell script again
MySQL Database
thanks,
rob
thanks @george1421
btw, i found this, you can sysprep win10 up to 1001 times before recreating your image
ok job done.
just renamed the images dir to something else, made a new images dir, in fstab mounted the raid6 in the images dir and re ran the setup shell script
i did a capture and a deploy and all is now good
thank you all for your help!!!
ohhh, so once i mount my raid in images, your thinking re run the setup again and it will put all the files folders in images?
so you mean in /etc/fstab do this @Sebastian-Roth
/dev/md6 /mnt/raid6 ext4 defaults 0 0
do
/dev/md6 /images ext4 defaults 0 0
@Sebastian-Roth do you mean a soft link
ln -s /images /mnt/raid6/images
but only thing is my images dir is only 50g but my mnt raid6 images is 3.4tb
if i change any values in registry and then do a sysprep with oobe and generalize will the oobe part get rid of the changes and make it back to default settings
is there a limit how many times i can deploy this image with a sysprep, as i heard it can only be done 8 times?
Thanks @george1421 that’s what I thought, always sysprep even if it’s a golden image for installing on different hardware
Can I make an unattended answer file if I havnt got a windows volume license?
Hi all,
If your installing a vanilla golden image of Windows 10 ie literally just installing it on a pc then capturing it, not even doing a sysprep, is this advisable
But I thought you need to do a sysprep of it so you can deploy it to other pcs ie sysprep /oobe /generalize
Thanks,
Rob
Solved lol
I did a
Mkdir /mnt/raid6/images
Rsync -a /images /mnt/raid6/images
Obviously I put it in etc/exports
Just copy and pasted the images lines
hi all,
trying to capture an image and i see the partclone coming up and capturing the disks and it says its captured it succesfully as when i go on the fog web gui, i see the image size but then all of a sudden i get the below pic come up on the pc
thanks,
rob
sorted it out, i had to enable port fast on the cisco switch for the port(s)
the reason it took ages to get a dhcp address is because when port fast is disbaled it takes 30 seconds for it to give it a lease address
hi all,
so im about to register my host but im getting the below error -
so it finds my fog server i think, im guessing my NIC is not supported?
i have added scope options 66 and 67
66 - ip of fog server
67 - undionly.kpxe
thanks,
rob